Class
TopologyLegendFluent
ChartForgeX.Topology
The fluent methods of TopologyLegend, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- TopologyLegendFluent
Methods
Item 2 overloads
public static TopologyLegend Item(TopologyLegend topologyLegend, TopologyLegendItem item) #Adds an item to TopologyLegend.Items: Gets the legend items.
Parameters
- topologyLegend ChartForgeX.Topology.TopologyLegend
- The instance.
- item ChartForgeX.Topology.TopologyLegendItem
- The item.
public static TopologyLegend Item(TopologyLegend topologyLegend, Action<TopologyLegendItem> configure) #Creates an item, configures it and adds it to TopologyLegend.Items: Gets the legend items.
Parameters
- topologyLegend ChartForgeX.Topology.TopologyLegend
- The instance.
- configure System.Action<ChartForgeX.Topology.TopologyLegendItem>
- Configures the new item before it is added.
public static TopologyLegend Items(TopologyLegend topologyLegend, IEnumerable<TopologyLegendItem> items) #Adds items to TopologyLegend.Items: Gets the legend items.
Parameters
- topologyLegend ChartForgeX.Topology.TopologyLegend
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyLegendItem>
- The items, in order.
public static TopologyLegend Title(TopologyLegend topologyLegend, string? value) #Sets TopologyLegend.Title: Gets or sets the legend title.
Parameters
- topologyLegend ChartForgeX.Topology.TopologyLegend
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Topology.TopologyLegend { Title = value }; topologyLegend.Title(value);