alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SankeyBaseTextStyle

    Serves as the base component for managing text styles in a Sankey.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SankeyComponentBase
    SankeyBaseTextStyle
    SankeyLabelSettings
    SankeyLegendTextStyle
    SankeyLegendTitleStyle
    SankeySubtitleStyle
    SankeyTitleStyle
    SankeyTooltipTextStyle
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Sankey
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SankeyBaseTextStyle : SankeyComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    This class provides properties for customizing text appearance, such as color, font family, font style, font weight, and font size. These properties allow fine-grained control over text styling, and default values align with the Sankey theme if unspecified.

    Constructors

    SankeyBaseTextStyle()

    Declaration
    public SankeyBaseTextStyle()

    Properties

    Color

    Gets or sets the color for the text.

    Declaration
    [Parameter]
    public string Color { get; set; }
    Property Value
    Type Description
    string

    A string representing the color for the text. The default value is null.

    Remarks

    Accepts values in hex and rgba as a valid CSS color string.

    FontFamily

    Gets or sets the font family for the text.

    Declaration
    [Parameter]
    public string FontFamily { get; set; }
    Property Value
    Type Description
    string

    A string representing the font family for the text. The default value is null.

    Remarks

    If no font family is specified, based on the Sankey theme the font family will be applied to the text.

    FontSize

    Gets or sets the font size for the text.

    Declaration
    [Parameter]
    public string FontSize { get; set; }
    Property Value
    Type Description
    string

    A string representing the font size for the text. The default value is null.

    Remarks

    If no font size is specified, based on the Sankey theme the font size will be applied to the text.

    FontStyle

    Gets or sets the font style for the text.

    Declaration
    [Parameter]
    public string FontStyle { get; set; }
    Property Value
    Type Description
    string

    A string representing the font style for the text. The default value is null.

    Remarks

    If no font style is specified, based on the Sankey theme the font style will be applied to the text.

    FontWeight

    Gets or sets the font weight for the text.

    Declaration
    [Parameter]
    public string FontWeight { get; set; }
    Property Value
    Type Description
    string

    A string representing the font weight for the text. The default value is null.

    Remarks

    If no font weight is specified, based on the Sankey theme the font weight will be applied to the text.

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved