UIElement
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public abstract class UIElement : VisualElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElement...
Derived Classes:
Implements:
Inherited Members
Constructors
public UIElement()
Fields
public static RadProperty ClipProperty
public static RadProperty FlowDirectionProperty
public static RadProperty TextProperty
Properties
public string AutomationID { get; set; }
public Dispatcher Dispatcher { get; }
public bool HasReceivedFocus { get; set; }
This property is used internally!
public override bool IsFocusable { get; set; }
Overrides:
public bool IsHitTestVisible { get; set; }
public RenderTransform RenderTransform { get; set; }
Methods
protected virtual bool CanPaint(IPaintingContext context)
public void CaptureMouse()
Called when the mouse is moved over this element.
protected override void DoMouseMove(MouseEventArgs e)
The mouse event arguments.
Overrides:
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:
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Overrides:
Called when the bubble phase of a routed event occurs.
protected override void OnBubbleEvent(RadElement sender, RoutedEventArgs args)
The element that originally raised the event.
argsRoutedEventArgsThe routed event arguments.
Overrides:
Raises the Click event.
Raises the DoubleClick event.
protected virtual void OnMouseDoubleClick(MouseButtonEventArgs e)
protected virtual void OnMouseLeftButtonDown(MouseButtonEventArgs e)
protected virtual void OnMouseLeftButtonUp(MouseButtonEventArgs e)
protected virtual void OnMouseRightButtonDown(MouseButtonEventArgs e)
protected virtual void OnMouseRightButtonUp(MouseButtonEventArgs e)
Called when a property value has changed, allowing for custom response to property changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property changed event arguments.
Overrides:
public void ReleaseMouseCapture()
public void UpdateRenderTransform()
Events
public event EventHandler GotFocus
public event EventHandler LostFocus
public event EventHandler<MouseButtonEventArgs> MouseClick
public event EventHandler<MouseButtonEventArgs> MouseDoubleClick
public event EventHandler<MouseButtonEventArgs> MouseEnter
public event EventHandler<MouseButtonEventArgs> MouseLeftButtonDown
public event EventHandler<MouseButtonEventArgs> MouseLeftButtonUp
public event EventHandler<MouseButtonEventArgs> MouseRightButtonDown
public event EventHandler<MouseButtonEventArgs> MouseRightButtonUp