Class AxisLabel
A label used to display data in an axis.
Inheritance
System.Object
AxisLabel
Inherited Members
System.Windows.FrameworkElement.RegisterName(System.String, System.Object)
System.Windows.FrameworkElement.UnregisterName(System.String)
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public class AxisLabel : Control
Constructors
| Improve this Doc View SourceAxisLabel()
Instantiates a new instance of the AxisLabel class.
Declaration
public AxisLabel()
Fields
| Improve this Doc View SourceFormattedContentProperty
Identifies the FormattedContent dependency property.
Declaration
public static readonly DependencyProperty FormattedContentProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
StringFormatProperty
Identifies the StringFormat dependency property.
Declaration
public static readonly DependencyProperty StringFormatProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceFormattedContent
Gets the formatted content property.
Declaration
public string FormattedContent { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
StringFormat
Gets or sets the text string format.
Declaration
public string StringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceOnStringFormatPropertyChanged(String)
StringFormatProperty property changed handler.
Declaration
protected virtual void OnStringFormatPropertyChanged(string newValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | newValue | New value. |
UpdateFormattedContent()
Updates the formatted text.
Declaration
protected virtual void UpdateFormattedContent()