C# Class GoogleCloudExtension.Theming.ButtonTemplateSelector

This class implements the DataTemplateSelector interface to choose the right button style (with the right size) depending on the contents of the button.
Inheritance: System.Windows.Controls.DataTemplateSelector
Afficher le fichier Open project: GoogleCloudPlatform/google-cloud-visualstudio

Méthodes publiques

Méthode Description
SelectTemplate ( object item, DependencyObject container ) : System.Windows.DataTemplate

Choose between the Wide and Standard sizes for a button depending on the information on the button info.

Method Details

SelectTemplate() public méthode

Choose between the Wide and Standard sizes for a button depending on the information on the button info.
public SelectTemplate ( object item, DependencyObject container ) : System.Windows.DataTemplate
item object
container System.Windows.DependencyObject
Résultat System.Windows.DataTemplate