Skip to content

Instantly share code, notes, and snippets.

@Feroz-Istar
Last active November 25, 2019 22:33
Show Gist options
  • Save Feroz-Istar/c7396b7270e4fb37a3b3d352a3b2fc15 to your computer and use it in GitHub Desktop.
Save Feroz-Istar/c7396b7270e4fb37a3b3d352a3b2fc15 to your computer and use it in GitHub Desktop.
1. Dropdown is combobox.
<ComboBox SelectedIndex="0" Padding="2">
<ComboBoxItem>Painted</ComboBoxItem>
<ComboBoxItem>Not Painted</ComboBoxItem>
</ComboBox>
2. In case of Text Box name attribute is used so that we get its text user name attribut .get Text in code
<TextBox Name="description_box" />
3. for checking string null check in code use
string desc =description_box.Text
String.IsNullOrEmpty(desc)
https://www.youtube.com/watch?v=gTFobW68uoI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment