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

Represents the view state properties needed for representing the content control.

Definition

Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class ContentControlState : INotifyPropertyChanged

Inheritance: objectContentControlState

Derived Classes: ButtonContentControlStateCheckBoxControlStatePictureControlState

Implements: INotifyPropertyChanged

Properties

Gets the alias text.

C#
public string Alias { get; }

Gets the value that indicates whether the controls should appear focused or not.

C#
public bool Focused { get; }

Gets or sets the value that indicates whether the control should appear hovered or not.

C#
public bool Hovered { get; set; }

Gets the value that indicates if the control is locked.

C#
public Lock? Lock { get; }

Gets the value that indicates the appearance of the control.

C#
public OutlineAppearance OutlineAppearance { get; }

Gets the value that indicates the color of the control.

C#
public Color? OutlineColor { get; }

Gets the value that indicates the list of points that identifies the control's polygon.

C#
public IEnumerable<Point> PolygonPoints { get; }
C#
protected SdtProperties Properties { get; }
C#
protected SdtRangeStart SdtStart { get; }

Gets the value that indicates the action which selects the content of the control.

C#
public Action<object> SelectAction { get; }

Gets the value that indicates whether the control should appear selected or not.

C#
public bool Selected { get; }

Gets the value that indicates whether the controls should show its thumb or not.

C#
public bool ShowThumb { get; }

Gets the value that indicates the type of the control.

C#
public SdtType Type { get; }

Methods

Raise PropertyChanged event to any listeners.

C#
protected virtual void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

Events

PropertyChanged event.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged