ClassSizeGripItem
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SizeGripItem : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemSizeGripItem
Implements:
Inherited Members
Constructors
SizeGripItem()
Declaration
public SizeGripItem()
Properties
AllowSizing
Gets or sets a boolean value that determines whether the SizeGripItem can resize the hosting control.
RightToLeft
Gets or sets the direction of flow of the elements and whether elements are aligned to support locales using right-to-left fonts.
Declaration
public override bool RightToLeft { get; set; }
Property Value
Overrides
ShouldAspectMinSize
Declaration
[Browsable(false)]
public bool ShouldAspectMinSize { get; set; }
Property Value
ShouldAspectRootElement
Declaration
[Browsable(false)]
public bool ShouldAspectRootElement { get; set; }
Property Value
SizingMode
Declaration
public SizeGripItem.SizingModes SizingMode { get; set; }
Property Value
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
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.
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
e
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnMouseMove(MouseEventArgs)
Called when the mouse moves over the item, handling highlight and border highlight effects.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseUp(MouseEventArgs)
Called when a mouse button is released over the item.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnSized(object, ValueChangingEventArgs)
Declaration
protected virtual void OnSized(object sender, ValueChangingEventArgs args)
Parameters
sender
args
OnSizing(object, ValueChangingEventArgs)
Declaration
protected virtual void OnSizing(object sender, ValueChangingEventArgs args)
Parameters
sender
args