GraphNodeStyle
ChartForgeX.Interactivity
Describes adapter-neutral graph node styling hints, including common vis-network node option concepts.
Inheritance
- object
- GraphNodeStyle
Usage
Explore 23 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 13
- Extension method GraphNodeStyle.BackgroundColor
- Extension method GraphNodeStyle.BorderColor
- Extension method GraphNodeStyle.LabelBackgroundColor
- Extension method GraphNodeStyle.LabelColor
- Extension method GraphNodeStyle.Shadow
- Method GraphNodeStyleFluent.BackgroundColor
- Method GraphNodeStyleFluent.BorderColor
- Method GraphNodeStyleFluent.LabelBackgroundColor
- Method GraphNodeStyleFluent.LabelColor
- Method GraphNodeStyleFluent.Shadow
- Property GraphSceneNode.Style
- Property VisNetworkGroupOptions.Style
- Property VisNetworkNode.Style
Accepted by parameters 10
- Extension method GraphNodeStyle.BackgroundColor
- Extension method GraphNodeStyle.BorderColor
- Extension method GraphNodeStyle.LabelBackgroundColor
- Extension method GraphNodeStyle.LabelColor
- Extension method GraphNodeStyle.Shadow
- Method GraphNodeStyleFluent.BackgroundColor
- Method GraphNodeStyleFluent.BorderColor
- Method GraphNodeStyleFluent.LabelBackgroundColor
- Method GraphNodeStyleFluent.LabelColor
- Method GraphNodeStyleFluent.Shadow
Constructors
public GraphNodeStyle() #Inherited Methods
Properties
public string? BackgroundColor { get; set; } #Gets or sets the node fill color.
public string? BorderColor { get; set; } #Gets or sets the node border color.
public string? LabelBackgroundColor { get; set; } #Gets or sets an optional label background color.
public bool Shadow { get; set; } #Gets or sets whether the adapter should render a node shadow when supported.
Extension Methods
public static GraphNodeStyle BackgroundColor(GraphNodeStyle graphNodeStyle, string? value) #Sets GraphNodeStyle.BackgroundColor: Gets or sets the node fill color.
Parameters
- graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { BackgroundColor = value }; graphNodeStyle.BackgroundColor(value);public static GraphNodeStyle BorderColor(GraphNodeStyle graphNodeStyle, string? value) #Sets GraphNodeStyle.BorderColor: Gets or sets the node border color.
Parameters
- graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { BorderColor = value }; graphNodeStyle.BorderColor(value);public static GraphNodeStyle LabelBackgroundColor(GraphNodeStyle graphNodeStyle, string? value) #Sets GraphNodeStyle.LabelBackgroundColor: Gets or sets an optional label background color.
Parameters
- graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { LabelBackgroundColor = value }; graphNodeStyle.LabelBackgroundColor(value);public static GraphNodeStyle LabelColor(GraphNodeStyle graphNodeStyle, string? value) #Sets GraphNodeStyle.LabelColor: Gets or sets the node label color.
Parameters
- graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { LabelColor = value }; graphNodeStyle.LabelColor(value);public static GraphNodeStyle Shadow(GraphNodeStyle graphNodeStyle, bool value = true) #Sets GraphNodeStyle.Shadow: Gets or sets whether the adapter should render a node shadow when supported.
Parameters
- graphNodeStyle ChartForgeX.Interactivity.GraphNodeStyle
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphNodeStyle { Shadow = value }; graphNodeStyle.Shadow(value);