Skip to main content
A newer version of this page is available.

DXHintStyle Class

The hint appearance settings storage.

Namespace: DevExpress.Xamarin.iOS.Charts

Assembly: DevExpress.Xamarin.iOS.Charts.dll

Declaration

public class DXHintStyle :
    DXHintStyleBase

The following members return DXHintStyle objects:

Example

The following image displays style properties that manages the hint appearance:

Style parameters

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

DXHint.Style

Gets or sets hint appearance settings.

DXHintStyle

The hint appearance settings storage.

Implements

IEquatable<Foundation.NSObject>
Foundation.INSObjectProtocol
ObjCRuntime.INativeObject

Inheritance

Object
Foundation.NSObject
See Also