Class SmithChartTitle
Options to customize the title of the chart.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class SmithChartTitle : SfBaseComponent
Constructors
SmithChartTitle()
Declaration
public SmithChartTitle()
Properties
ChildContent
Gets and sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Description
Description for the title.
Declaration
public string Description { get; set; }
Property Value
Type |
---|
System.String |
EnableTrim
Trim the title.
Declaration
public bool EnableTrim { get; set; }
Property Value
Type |
---|
System.Boolean |
MaximumWidth
Maximum width of the subtitle.
Declaration
public double MaximumWidth { get; set; }
Property Value
Type |
---|
System.Double |
Text
Text for the title.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextAlignment
Text alignment for the title.
Declaration
public SmithChartAlignment TextAlignment { get; set; }
Property Value
Type |
---|
SmithChartAlignment |
Visible
Visibility of the title.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |