Skip to content

Instantly share code, notes, and snippets.

Last active January 23, 2018 11:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Localized UWP ComboBox example
<ComboBox DisplayMemberPath="Content"
SelectedIndex="{x:Bind Status, Mode=TwoWay}">
<ComboBoxItem x:Uid="ProjectStatus_Completed" />
<ComboBoxItem x:Uid="ProjectStatus_Active" />
<ComboBoxItem x:Uid="ProjectStatus_Archived" />
public class Project
public int Status { get; set; }
<data name="ProjectStatus_Active.Content" xml:space="preserve">
<data name="ProjectStatus_Archived.Content" xml:space="preserve">
<data name="ProjectStatus_Completed.Content" xml:space="preserve">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment