SizeGripElement
Composite element that hosts one or two SizeGripItem grips, allowing a hosting control to be resized vertically, horizontally-and-vertically together, or both, depending on SizingMode.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SizeGripElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemSizeGripElement...
Implements:
Inherited Members
Constructors
public SizeGripElement()
Properties
Gets the grip item that resizes only vertically (north-south), positioned at the bottom-center of the element.
public SizeGripItem GripItemNS { get; }
Gets the corner grip item that resizes both dimensions simultaneously (north-south-east-west), positioned at the middle-right (or middle-left in right-to-left layouts) of the element.
public SizeGripItem GripItemNSEW { get; }
Gets or sets the direction of flow of the elements and whether elements are aligned to support locales using right-to-left fonts.
public override bool RightToLeft { get; set; }
Overrides:
[Browsable(false)]
public bool ShouldAspectMinSize { get; set; }
[Browsable(false)]
public bool ShouldAspectRootElement { get; set; }
Gets or sets which grip(s) are visible and active: UpDown shows only the bottom-center vertical grip, RightBottom shows only the corner grip that resizes both dimensions, and UpDownAndRightBottom shows both. The whole element is collapsed when set to None.
public SizingMode SizingMode { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Gets the VisualStyleElement instance that describes the skin appearance for the element when the current OS is Windows Vista.
public override VisualStyleElement GetVistaVisualStyle()
The visual style element for Windows Vista.
Overrides:
Gets the Visual Style Element instance that describes the skin appearance for the element when the current OS is Windows XP.
public override VisualStyleElement GetXPVisualStyle()
The visual style element for Windows XP.
Overrides:
Initializes the fields of this instance with their default values.
protected override void InitializeFields()
Overrides:
Performs initialization when the element is first-time painted using system skin.
protected override void InitializeSystemSkinPaint()
Overrides:
protected override bool ShouldPaintChild(RadElement element)
Overrides:
Performs cleanup when system skin painting is no longer used.
protected override void UnitializeSystemSkinPaint()
Overrides: