Class LabelContainer
Represent a visual container for labels in the RadDiagramRuler.
Inheritance
Namespace: Telerik.Windows.Controls.Diagrams.Extensions
Assembly: Telerik.Windows.Controls.Diagrams.Extensions.dll
Syntax
public class LabelContainer : Control, IRulerItemContainer
Constructors
LabelContainer()
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of Silverlight layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size that is used after the element is arranged in layout. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
Explicit Interface Implementations
IRulerItemContainer.DataItem
Gets or sets the data item.
Declaration
RulerScaleItem IRulerItemContainer.DataItem { get; set; }
Returns
RulerScaleItem
|