Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTabbedFormControlCaption : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadTabbedFormControlCaption...
Implements:
Inherited Members
Constructors
public RadTabbedFormControlCaption()
Fields
public static RadProperty CaptionHeightProperty
Properties
Gets or sets the height of the extended title bar.
[Browsable(true)]
public int CaptionHeight { get; set; }
Gets the Close button
public RadButtonElement CloseButton { get; }
Gets the Help button.
public RadButtonElement HelpButton { get; }
Gets the Maximize button
public RadButtonElement MaximizeButton { get; }
Gets the Minimize button
public RadButtonElement MinimizeButton { get; }
Gets the element holding the system buttons.
public StackLayoutElement SystemButtons { get; }
Gets the RadTabbedFormControlTabsElement.
public RadTabbedFormControlTabsElement TabbedFormControlTabsElement { get; }
Methods
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
protected override void InitializeFields()
Overrides:
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Raises the DoubleClick event.
Called when a mouse button is pressed down over the item.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when the mouse moves over the item, handling highlight and border highlight effects.
protected override void OnMouseMove(MouseEventArgs e)
The mouse event arguments.
Overrides:
Gets a value indicating whether a child will be arranged during the ArrangeOverride(SizeF).
protected override bool ShouldArrangeChild(RadElement child)
The child element to check.
Returns:Whether the child will be arranged in ArrangeOverride.
Overrides:
Gets a value indicating, whether a child will be measured during the MeasureOverride.
protected override bool ShouldMeasureChild(RadElement child)
The child.
Returns:Whether the child will be measured in MeasureOverride.
Overrides:
Events
Fires when the close button is clicked
public event TitleBarSystemEventHandler Close
Fires when the maximize button is clicked
public event TitleBarSystemEventHandler MaximizeRestore
Fires when the minimize button is clicked
public event TitleBarSystemEventHandler Minimize