Class TreeMapLegendElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.TreeMap
Assembly: Telerik.WinControls.UI.dll
Syntax
public class TreeMapLegendElement : StackLayoutElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
TreeMapLegendElement(RadTreeMapElement)
Initializes a new instance of the TreeMapLegendElement class.
Declaration
public TreeMapLegendElement(RadTreeMapElement treeMapElement)
Parameters
RadTreeMapElement
treeMapElement
The TreeMap element. |
Properties
LegendTitle
Gets or sets the legend title text.
Declaration
public string LegendTitle { get; set; }
Property Value
System.String
|
PanelElement
Gets the panel element used for organizing the legend items.
Declaration
public WrapLayoutPanel PanelElement { get; }
Property Value
WrapLayoutPanel
|
TitleElement
Gets the title element.
Declaration
public LegendTitleElement TitleElement { get; }
Property Value
LegendTitleElement
|
TitlePosition
Gets or sets the position of the legend title.
Declaration
public TitlePosition TitlePosition { get; set; }
Property Value
TitlePosition
|
Methods
ArrangeOverride(SizeF)
Arranges the elements.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
The final size. |
Returns
System.Drawing.SizeF
|
Overrides
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateLegendTitleElement()
Creates the legend title element.
Declaration
protected virtual LegendTitleElement CreateLegendTitleElement()
Returns
LegendTitleElement
|
CreateScrollViewElement()
Creates the scroll view element.
Declaration
protected virtual ScrollViewElement CreateScrollViewElement()
Returns
ScrollViewElement
|
CreateStackElement()
Creates the panel element.
Declaration
protected virtual WrapLayoutPanel CreateStackElement()
Returns
WrapLayoutPanel
|
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element) |
Returns
System.Drawing.SizeF
The minimum size required by the element to be completely visible. Cannot be infinity. |
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnGroupsCollectionChanged(NotifyCollectionChangedEventArgs, Boolean)
Raises the LegendInfosCollectionChanged event.
Declaration
protected virtual void OnGroupsCollectionChanged(NotifyCollectionChangedEventArgs e, bool providerChange)
Parameters
NotifyCollectionChangedEventArgs
e
The NotifyCollectionChangedEventArgs instance containing the event data. |
System.Boolean
providerChange
The provider change. |
OnVisualItemCreating(TreeMapDataItemGroup)
Called when [visual item creating].
Declaration
protected virtual LegendItemElement OnVisualItemCreating(TreeMapDataItemGroup group)
Parameters
TreeMapDataItemGroup
group
The group. |
Returns
LegendItemElement
|
ResetVisualItems()
Declaration
protected virtual void ResetVisualItems()
SynchronizeItems()
Declaration
public void SynchronizeItems()
Events
VisualItemCreating
Occurs when [visual item creating].
Declaration
public event LegendItemElementCreatingEventHandler VisualItemCreating
Event Type
LegendItemElementCreatingEventHandler
|