Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Last active April 4, 2019 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/498c5b9e850cda9c8612dd44811ced68 to your computer and use it in GitHub Desktop.
Save MartinZikmund/498c5b9e850cda9c8612dd44811ced68 to your computer and use it in GitHub Desktop.
namespace UITests.Shared.Windows_Graphics_Display.DisplayInformation
{
[SampleControlInfo("DisplayInformation", "DisplayInformation_Properties", description: "Shows the values from DisplayInformation class properties. N/A for not implemented.")]
public sealed partial class DisplayInformation_Properties : UserControl
{
public DisplayInformation_Properties()
{
this.InitializeComponent();
RefreshDisplayInformation();
}
public class PropertyInformation
{
public PropertyInformation( string name, string value)
{
Name = name;
Value = value;
}
public string Name { get; set; }
public string Value { get; set; }
}
private void Refresh_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
{
RefreshDisplayInformation();
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment