Class MapLegendItemElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class MapLegendItemElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
MapLegendItemElement(String, Color)
Initializes a new instance of the MapLegendItemElement class.
Declaration
public MapLegendItemElement(string text, Color color)
Parameters
System.String
text
The text. |
System.Drawing.Color
color
The color. |
MapLegendItemElement(MapLegendInfoItem, String, Color)
Initializes a new instance of the MapLegendItemElement class.
Declaration
public MapLegendItemElement(MapLegendInfoItem item, string text, Color color)
Parameters
MapLegendInfoItem
item
The item. |
System.String
text
The text. |
System.Drawing.Color
color
The color. |
Properties
ColorElement
Gets the color element.
Declaration
public MapLegendItemColorElement ColorElement { get; }
Property Value
MapLegendItemColorElement
The color element. |
Item
Gets the item.
Declaration
public MapLegendInfoItem Item { get; }
Property Value
MapLegendInfoItem
The item. |
Orientation
Gets or sets the orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
The orientation. |
TextElement
Gets the text element.
Declaration
public MapLegendItemTextElement TextElement { get; }
Property Value
MapLegendItemTextElement
The text element. |
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateColorElement()
Creates the color element.
Declaration
protected virtual MapLegendItemColorElement CreateColorElement()
Returns
MapLegendItemColorElement
MapLegendItemColorElement. |
CreateTextElement()
Creates the text element.
Declaration
protected virtual MapLegendItemTextElement CreateTextElement()
Returns
MapLegendItemTextElement
MapLegendItemTextElement. |
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|