C# Class GoogleCloudExtension.Theming.CommonDialogWindowBaseContent

This class implements all of the common visuals for all dialogs.
Inheritance: System.Windows.Controls.ContentControl
Show file Open project: GoogleCloudPlatform/google-cloud-visualstudio

Public Properties

Property Type Description
ButtonsProperty System.Windows.DependencyProperty
HasBannerProperty System.Windows.DependencyProperty

Public Methods

Method Description
CommonDialogWindowBaseContent ( ) : GoogleCloudExtension.Utils

Private Methods

Method Description
Initialize ( ) : void

Due to a limitation on the Xaml parser with respect to names in the content of a ContentControl we need to load the visuals (the styles) programmatically. If we were to use the normal pattern we will get the "Can't apply Name to an element" error.

Method Details

CommonDialogWindowBaseContent() public method

public CommonDialogWindowBaseContent ( ) : GoogleCloudExtension.Utils
return GoogleCloudExtension.Utils

Property Details

ButtonsProperty public static property

public static DependencyProperty,System.Windows ButtonsProperty
return System.Windows.DependencyProperty

HasBannerProperty public static property

public static DependencyProperty,System.Windows HasBannerProperty
return System.Windows.DependencyProperty