Class TabProviderModel
Inheritance
System.Object
TabProviderModel
Namespace: Phoenix.WindowManagement
Assembly: Phoenix.Core.dll
Syntax
public class TabProviderModel : BindableBase
Constructors
View SourceTabProviderModel(ViewProviderInfo, WindowManager)
Initializes a new instance of the TabProviderModel class.
Declaration
public TabProviderModel(ViewProviderInfo info, WindowManager windowManager)
Parameters
Type | Name | Description |
---|---|---|
ViewProviderInfo | info | The underlying view provider information. |
WindowManager | windowManager | The window manager. |
Properties
View SourceDisplayName
Gets the display name for the view. Use the Header Name.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Opened
Gets or sets a value indicating whether or not the tab is open.
Declaration
public bool Opened { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
View SourceOnStateChanged(Boolean)
Closes or opens view for the specified contract.
Declaration
public void OnStateChanged(bool isOpen)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isOpen | State of view. |