SizeGripItem
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
public SizeGripItem()
Properties
Gets or sets a boolean value that determines whether the SizeGripItem can resize the hosting control.
public bool AllowSizing { get; set; }
Gets the primitive that renders the grip's glyph image.
public ImagePrimitive Image { get; }
Gets or sets whether the grip is laid out for right-to-left content; setting this rotates the grip's glyph by 90 degrees to mirror its resize-direction cue instead of changing its alignment.
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 mouse-drag axes resize the hosting control: Horizontal, Vertical, or Both.
public SizeGripItem.SizingModes SizingMode { get; set; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Measures the space required by the RadElement
Used by the layout system.
protected override SizeF MeasureOverride(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:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.
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:
Called when a mouse button is released over the item.
protected override void OnMouseUp(MouseEventArgs e)
The mouse event arguments.
Overrides:
protected virtual void OnSized(object sender, ValueChangingEventArgs args)
protected virtual void OnSizing(object sender, ValueChangingEventArgs args)
Events
Occurs after the hosting control has been resized as a result of dragging this grip.
public event ValueChangingEventHandler Sized
Occurs when the user starts dragging this grip, before any resizing is applied.
public event ValueChangingEventHandler Sizing