Show / Hide Table of Contents

Class ThemeTestingViewModel

View model for theme testing.

Inheritance
System.Object
ViewModelBase<ThemeTestingView>
TabItemViewModel<ThemeTestingView>
ThemeTestingViewModel
Implements
IViewInitialize
IThemeViewProvider
IViewProvider
IClosingNotification
Inherited Members
TabItemViewModel<ThemeTestingView>.FocusView()
TabItemViewModel<ThemeTestingView>.OnViewChanged(Object, DependencyPropertyChangedEventArgs)
TabItemViewModel<ThemeTestingView>.LogOnlyIfTabActive(String, String, Object[])
TabItemViewModel<ThemeTestingView>.LogOnlyIfTabActive(String, LogSeverity, String, Object[])
TabItemViewModel<ThemeTestingView>.LogOnlyIfTabActive(String, Guid, String, Object[])
TabItemViewModel<ThemeTestingView>.LogOnlyIfTabActive(String, Guid, LogSeverity, String, Object[])
TabItemViewModel<ThemeTestingView>.LoglineOnlyIfTabActive(String, String, Object[])
TabItemViewModel<ThemeTestingView>.LoglineOnlyIfTabActive(String, LogSeverity, String, Object[])
TabItemViewModel<ThemeTestingView>.LoglineOnlyIfTabActive(String, Guid, String, Object[])
TabItemViewModel<ThemeTestingView>.LoglineOnlyIfTabActive(String, Guid, LogSeverity, String, Object[])
TabItemViewModel<ThemeTestingView>.LogExceptionOnlyIfTabActive(String, LogSeverity, Exception)
TabItemViewModel<ThemeTestingView>.LogCriticalExceptionOnlyIfTabActive(String, Exception)
ViewModelBase<ThemeTestingView>.Closed
ViewModelBase<ThemeTestingView>.IsClosable
ViewModelBase<ThemeTestingView>.IsDockable
ViewModelBase<ThemeTestingView>.HeaderName
ViewModelBase<ThemeTestingView>.View
ViewModelBase<ThemeTestingView>.IViewProvider.View
ViewModelBase<ThemeTestingView>.EventAggregator
ViewModelBase<ThemeTestingView>.Logger
ViewModelBase<ThemeTestingView>.Closing(CancelEventArgs)
ViewModelBase<ThemeTestingView>.IViewInitialize.Initialize()
ViewModelBase<ThemeTestingView>.IViewInitialize.Uninitialize()
ViewModelBase<ThemeTestingView>.IClosingNotification.Closed(EventArgs)
ViewModelBase<ThemeTestingView>.OnClosing(CancelEventArgs)
ViewModelBase<ThemeTestingView>.OnClosed()
ViewModelBase<ThemeTestingView>.CloseView()
Namespace: Phoenix.ThemeTesting
Assembly: Phoenix.Plugin.ThemeTesting.dll
Syntax
public class ThemeTestingViewModel : TabItemViewModel<ThemeTestingView>, IViewInitialize, IThemeViewProvider, IViewProvider, IClosingNotification

Constructors

View Source

ThemeTestingViewModel(ThemeTestingView, IWindowingControl, IEventAggregator, IPhoenixLogger)

Initializes a new instance of the ThemeTestingViewModel class.

Declaration
public ThemeTestingViewModel(ThemeTestingView view, IWindowingControl windowing, IEventAggregator eventAggregator, IPhoenixLogger logger)
Parameters
Type Name Description
ThemeTestingView view

The view this view model is driving.

IWindowingControl windowing

The windowing control.

IEventAggregator eventAggregator

The event aggregator for the application.

IPhoenixLogger logger

The logger for the application.

Fields

View Source

Name

The tab header name.

Declaration
public const string Name = "Theme Testing"
Field Value
Type Description
System.String

Properties

View Source

ApplyCommand

Gets the command for applying autocomplete entry.

Declaration
public DelegateCommand ApplyCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

AutoCompleteOptions

Gets a collection of autocomplete choices.

Declaration
public ObservableCollection<Tuple<string, string>> AutoCompleteOptions { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<System.Tuple<System.String, System.String>>
View Source

ConfirmationDialogCallbackAndCancelButtonParamCommand

Gets the command for showing a simple confirmation dialog by consuming DialogManager api with passed in callback and allowCancelButton optional parameters to do something with result.

Declaration
public DelegateCommand ConfirmationDialogCallbackAndCancelButtonParamCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

ConfirmationDialogCallbackCancelButtonAndCustomLabelsParamCommand

Gets the command for showing a simple confirmation dialog by consuming DialogManager api with passed in callback, allowCancelButton and buttonLabelOverrides optional parameters to do something with result. This will show how to customize the labels of the buttons to include cancel button if enabled.

Declaration
public DelegateCommand ConfirmationDialogCallbackCancelButtonAndCustomLabelsParamCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

ConnectCallback

Gets the function that is called when connect is clicked.

Declaration
public GameConnectionWidget.GameConnectionAction ConnectCallback { get; }
Property Value
Type Description
GameConnectionWidget.GameConnectionAction
View Source

ConnectionStatus

Gets or sets the connection status.

Declaration
public GameConnectionStatus ConnectionStatus { get; set; }
Property Value
Type Description
GameConnectionStatus
View Source

CurrentText

Gets or sets the current text for the autocomplete.

Declaration
public string CurrentText { get; set; }
Property Value
Type Description
System.String
View Source

CustomConfirmationDialogCommand

Gets the command for showing a custom confirmation dialog by consuming DialogManager api with passed in both the customDialogContentType and customDialogContentViewModelType parameters. This will allow for the displaying of own custom content that can also return custom results back to the caller by using a custom confirmation message that can handle the returned data payload.

Declaration
public DelegateCommand CustomConfirmationDialogCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

DisconnectCallback

Gets the function that is called when disconnect is clicked.

Declaration
public GameConnectionWidget.GameConnectionAction DisconnectCallback { get; }
Property Value
Type Description
GameConnectionWidget.GameConnectionAction
View Source

DismissAllOpenInteractionsCommand

Gets the command for programmatically dismissing all open interactions by consuming DialogManager api. This will force all currently opened interactions to close at once.

Declaration
public DelegateCommand DismissAllOpenInteractionsCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

Items

Gets a string of items

Declaration
public ObservableCollection<string> Items { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<System.String>
View Source

ModalConfirmationDialogNoParamsCommand

Gets the command for showing a simple modal confirmation dialog by consuming DialogManager api with no passed in optional parameters.

Declaration
public DelegateCommand ModalConfirmationDialogNoParamsCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

ModalNotificationDialogIsSystemModalParamCommand

Gets the command for showing a simple system modal notification dialog by consuming DialogManager api with passed in isSystemModal optional parameter. System modal will block interaction application wide until user finishes interaction with the dialog.

Declaration
public DelegateCommand ModalNotificationDialogIsSystemModalParamCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

ModalNotificationDialogNoParamsCommand

Gets the command for showing a simple modal notification dialog by consuming DialogManager api with no passed in optional parameters.

Declaration
public DelegateCommand ModalNotificationDialogNoParamsCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

NotificationDialogCallbackAndCancelButtonParamCommand

Gets the command for showing a simple notification dialog by consuming DialogManager api with passed in callback and allowCancelButton optional parameters to do something with result.

Declaration
public DelegateCommand NotificationDialogCallbackAndCancelButtonParamCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

NotificationDialogNoButtonsParamCommand

Gets the command for showing a simple notification dialog by consuming DialogManager api with passed in shouldAllowButtonControls optional parameter. This will not show any of the default dialog buttons and it would be up to the consumer to provide this same functionality in their custom dialog view.

Declaration
public DelegateCommand NotificationDialogNoButtonsParamCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

NotificationDialogUseCustomDialogStylesParamCommand

Gets the command for showing a simple notification dialog by consuming DialogManager api with passed in dialogStyle optional parameter. This will apply styles to the dialog window that will override any default styles currently applied.

Declaration
public DelegateCommand NotificationDialogUseCustomDialogStylesParamCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

Rectangles

Gets a collection of Rectangles

Declaration
public ObservableCollection<Rectangle> Rectangles { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<System.Windows.Shapes.Rectangle>
View Source

Settings

Gets the debug settings for use with testing new setting looks

Declaration
public DebugSettings Settings { get; }
Property Value
Type Description
DebugSettings
View Source

SimpleConfirmationDialogNoParamsCommand

Gets the command for showing a simple confirmation dialog by consuming DialogManager api with no passed in optional parameters.

Declaration
public DelegateCommand SimpleConfirmationDialogNoParamsCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

SimpleNotificationDialogNoParamsCommand

Gets the command for showing a simple notification dialog by consuming DialogManager api with no passed in optional parameters.

Declaration
public DelegateCommand SimpleNotificationDialogNoParamsCommand { get; }
Property Value
Type Description
DelegateCommand
View Source

ThemeTestingObjects

Gets a collection of ThemeTestingObjects

Declaration
public ObservableCollection<ThemeTestingTreeviewObject> ThemeTestingObjects { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<ThemeTestingTreeviewObject>
View Source

ToggleVisibilityOnAllOpenInteractionsCommand

Gets the command to programmatically toggle the visibility of all open interactions by consuming DialogManager api. This will force all currently opened interactions to either show or hide respectively.

Declaration
public DelegateCommand ToggleVisibilityOnAllOpenInteractionsCommand { get; }
Property Value
Type Description
DelegateCommand

Methods

View Source

Initialize()

Initializes phoenix managed resources when all modules are loaded.

Declaration
protected override void Initialize()
Overrides
Phoenix.Views.ViewModelBase<Phoenix.ThemeTesting.ThemeTestingView>.Initialize()
View Source

Uninitialize()

Uninitializes phoenix managed resources when closed.

Declaration
protected override void Uninitialize()
Overrides
Phoenix.Views.ViewModelBase<Phoenix.ThemeTesting.ThemeTestingView>.Uninitialize()

Implements

IViewInitialize
IThemeViewProvider
IViewProvider
IClosingNotification
  • View Source
In This Article
Back to top Generated by DocFX