In This Article

BarHeadingViewModel Class

Represents a view model for a heading control within a bar control.

public class BarHeadingViewModel : ObservableObjectBase
Inheritance:
object ObservableObjectBase object

Constructors

BarHeadingViewModel()

Initializes a new instance of the class.

public BarHeadingViewModel()

BarHeadingViewModel(string?)

Initializes a new instance of the class with the specified label.

public BarHeadingViewModel(string? label)
Parameter Type Description
label string

The text label to display.

Properties

IsVisible

Indicates whether the control is currently visible.

public bool IsVisible { get; set; }

Property Value

bool:

The default value is true.

Label

The text label to display.

public string? Label { get; set; }

Property Value

string

Inherited Members

Extension Methods