ClassChatMessageStatusElement
Represents the status element for chat messages, containing status text and action buttons (Reply, Copy).
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ChatMessageStatusElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementChatMessageStatusElement
Implements:
Inherited Members
Constructors
ChatMessageStatusElement()
Declaration
public ChatMessageStatusElement()
Fields
IsOwnMessageProperty
Declaration
public static RadProperty IsOwnMessageProperty
Field Value
Properties
CopyButton
Gets the copy button element.
Declaration
public LightVisualButtonElement CopyButton { get; }
Property Value
ReplyButton
Gets the reply button element.
Declaration
public LightVisualButtonElement ReplyButton { get; }
Property Value
StatusTextElement
Gets the status text element.
Declaration
public LightVisualElement StatusTextElement { get; }
Property Value
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateCopyButton()
Creates the copy button element.
Declaration
protected virtual LightVisualButtonElement CreateCopyButton()
Returns
CreateReplyButton()
Creates the reply button element.
Declaration
protected virtual LightVisualButtonElement CreateReplyButton()
Returns
CreateStatusTextElement()
Creates the status text element.
Declaration
protected virtual LightVisualElement CreateStatusTextElement()
Returns
DisposeManagedResources()
Disposes managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnCopyClicked(EventArgs)
Raises the CopyClicked event.
Declaration
protected virtual void OnCopyClicked(EventArgs e)
Parameters
e
OnReplyClicked(EventArgs)
Raises the ReplyClicked event.
Declaration
protected virtual void OnReplyClicked(EventArgs e)
Parameters
e
Events
CopyClicked
Occurs when the copy button is clicked with the left mouse button.
ReplyClicked
Occurs when the reply button is clicked with the left mouse button.