File tree Expand file tree Collapse file tree
Wpf.Ui.Gallery/Views/Pages/BasicInput Expand file tree Collapse file tree Original file line number Diff line number Diff line change 125125 </Canvas >
126126 </ui : Button >
127127 </controls : ControlExample >
128+
129+ <controls : ControlExample
130+ Margin =" 0,32,0,0"
131+ HeaderText =" WPF UI button disabled/enabled"
132+ XamlCode =" < ui:Button Appearance=" Primary" IsEnabled=" False" /> " >
133+ <StackPanel >
134+ <TextBlock Text =" Enabled" />
135+ <WrapPanel >
136+ <ui : Button Appearance =" Primary" Content =" Primary" Margin =" 4" />
137+ <ui : Button Appearance =" Secondary" Content =" Secondary" Margin =" 4" />
138+ <ui : Button Appearance =" Success" Content =" Success" Margin =" 4" />
139+ <ui : Button Appearance =" Caution" Content =" Caution" Margin =" 4" />
140+ <ui : Button Appearance =" Danger" Content =" Danger" Margin =" 4" />
141+ </WrapPanel >
142+
143+ <TextBlock Text =" Disabled" />
144+ <WrapPanel >
145+ <ui : Button Appearance =" Primary" Content =" Primary" IsEnabled =" False" Margin =" 4" />
146+ <ui : Button Appearance =" Secondary" Content =" Secondary" IsEnabled =" False" Margin =" 4" />
147+ <ui : Button Appearance =" Success" Content =" Success" IsEnabled =" False" Margin =" 4" />
148+ <ui : Button Appearance =" Caution" Content =" Caution" IsEnabled =" False" Margin =" 4" />
149+ <ui : Button Appearance =" Danger" Content =" Danger" IsEnabled =" False" Margin =" 4" />
150+ </WrapPanel >
151+ </StackPanel >
152+ </controls : ControlExample >
153+
128154 </StackPanel >
129155</Page >
You can’t perform that action at this time.
0 commit comments