RulerThumb
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
public RulerThumb()
Fields
public static readonly RadProperty IsDraggingProperty
public static readonly RadProperty TabStopTypeProperty
public static readonly RadProperty ToolTipTextProperty
Properties
public bool IsDragging { get; }
public RulerThumbType RulerThumbType { get; set; }
public string ToolTipText { get; set; }
Methods
public void CancelDrag()
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.
protected override void InitializeFields()
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.
public override void OnApplyTemplate()
Overrides:
protected override void OnLostMouseCapture(MouseEventArgs e)
Overrides:
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Overrides:
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Overrides:
protected override void PaintCore(IPaintingContext context)
Overrides:
Events
public event EventHandler<DragCompletedEventArgs> DragCompleted
public event EventHandler<DragDeltaEventArgs> DragDelta
public event EventHandler<DragStartedEventArgs> DragStarted