Last active
April 4, 2019 13:39
-
-
Save MartinZikmund/498c5b9e850cda9c8612dd44811ced68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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