ClassRulerThumb
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class RulerThumb : FrameworkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRulerThumb
Implements:
Inherited Members
Constructors
RulerThumb()
Declaration
public RulerThumb()
Fields
IsDraggingProperty
Declaration
public static readonly RadProperty IsDraggingProperty
Field Value
TabStopTypeProperty
Declaration
public static readonly RadProperty TabStopTypeProperty
Field Value
ToolTipTextProperty
Declaration
public static readonly RadProperty ToolTipTextProperty
Field Value
Properties
RulerThumbType
Declaration
public RulerThumbType RulerThumbType { get; set; }
Property Value
Methods
CancelDrag()
Declaration
public void CancelDrag()
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
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.
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
Overrides
OnLostMouseCapture(MouseEventArgs)
Declaration
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameters
e
Overrides
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
e
Overrides
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
e
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
Overrides
PaintCore(IPaintingContext)
Declaration
protected override void PaintCore(IPaintingContext context)
Parameters
context
Overrides
Events
DragCompleted
Declaration
public event EventHandler<DragCompletedEventArgs> DragCompleted
Event Value
DragDelta
Declaration
public event EventHandler<DragDeltaEventArgs> DragDelta
Event Value
DragStarted
Declaration
public event EventHandler<DragStartedEventArgs> DragStarted
Event Value