C# 클래스 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.
상속: System.Windows.Controls.DataTemplateSelector
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio

공개 메소드들

메소드 설명
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.

메소드 상세

SelectTemplate() 공개 메소드

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
리턴 System.Windows.DataTemplate