DXHintStyle Class
The hint appearance settings storage.
Namespace: DevExpress.Xamarin.iOS.Charts
Assembly: DevExpress.Xamarin.iOS.Charts.dll
Declaration
public class DXHintStyle :
DXHintStyleBase
Related API Members
The following members return DXHintStyle objects:
Example
The following image displays style properties that manages the hint appearance:
The code below configures the tooltip as the image above shows:
// All sizes are in screen points.
this.chart.Hint = new DXHint {
Style = new DXHintStyle {
BackgroundColor = UIColor.FromWhiteAlpha(0.4f, 0.4f),
ItemsIndent = 12,
Padding = new UIEdgeInsets(12, 24, 12, 24),
MarkerSize = 24,
TextIndent = 12,
TextStyle = new DXTextStyle {
ForegroundColor = UIColor.White,
FontSize = 24
},
ValueLineStyle = new DXCrosshairLineStyle {
Stroke = UIColor.Red,
LabelBackgroundColor = UIColor.Red,
TextStyle = new DXTextStyle {
ForegroundColor = UIColor.White
}
}
}
};
The following table lists symbols that specify the tooltip’s appearance:
Symbols | Description |
---|---|
Gets or sets hint appearance settings. | |
| The hint appearance settings storage. |
Inheritance
Object
Foundation.NSObject
DXChartElementStyle
DXHintStyleBase
DXHintStyle
See Also