New to Telerik UI for WinForms? Start a free 30-day trial

Creates the theme state used to distinguish status elements for the current user's messages.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ChatMessageStatusElementStateManagerFactory : ItemStateManagerFactory

Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryChatMessageStatusElementStateManagerFactory

Constructors

C#
public ChatMessageStatusElementStateManagerFactory()

Methods

Registers IsOwnMessage as a default visible state for theme lookup.

C#
protected override void AddDefaultVisibleStates(ItemStateManager sm)
Parameters:smItemStateManager

The state manager receiving the default-visible state.

Overrides: ItemStateManagerFactory.AddDefaultVisibleStates(ItemStateManager)

Adds the IsOwnMessage state, activated when the status element's own-message property is true.

C#
protected override StateNodeBase CreateSpecificStates()
Returns:

StateNodeBase

The state tree containing the own-message condition.

Overrides: ItemStateManagerFactory.CreateSpecificStates()