daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Nov 20th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <Grid>
  2.  <Grid.RowDefinitions>
  3.   <RowDefinition Height="Auto" />
  4.   <RowDefinition />
  5.  </Grid.RowDefinitions>
  6.  <Grid>
  7.   <Grid.ColumnDefinitions>
  8.    <ColumnDefinition />
  9.    <ColumnDefinition Width="Auto" />
  10.    <ColumnDefinition Width="Auto" />
  11.    <ColumnDefinition Width="Auto" />
  12.   </Grid.ColumnDefinitions>
  13.   <Button Grid.Column="1" Content="Кнопка 1" Visibility="???" IsEnabled="???" Tag="1" />
  14.   <Button Grid.Column="2" Content="Кнопка 2" Visibility="???" IsEnabled="???" Tag="2" />
  15.   <Button Grid.Column="3" Content="Кнопка 3" Visibility="???" IsEnabled="???" Tag="3" />
  16.  </Grid>    
  17. <!--... тут ContentControl, отображающий по требованию UserControls -->
  18. </Grid>
  19.    
  20. this.mainWindow.GetElementByName(string elementName)
  21.    
  22. ((TextBox)GetElementByName(@"usernameTextBox")).Text = @"admin";
RAW Paste Data
Top