Skip to content
This repository was archived by the owner on May 8, 2022. It is now read-only.

Commit

Permalink
Added support for HoloLens (holographic)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten committed Apr 4, 2016
1 parent 0310f10 commit 3a97a7a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/WindowsStateTriggers/DeviceFamilyStateTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ private static void OnDeviceTypePropertyChanged(DependencyObject d, DependencyPr
obj.IsActive = (val == DeviceFamily.Team);
else if (deviceFamily == "Windows.IoT")
obj.IsActive = (val == DeviceFamily.IoT);
else if (deviceFamily == "Windows.Holographic")
obj.IsActive = (val == DeviceFamily.Holographic);
else if (deviceFamily == "Windows.Xbox")
obj.IsActive = (val == DeviceFamily.Xbox);
else
Expand Down Expand Up @@ -120,6 +122,10 @@ public enum DeviceFamily
/// <summary>
/// Xbox
/// </summary>
Xbox = 5
Xbox = 5,
/// <summary>
/// Holographic
/// </summary>
Holographic = 6
}
}

0 comments on commit 3a97a7a

Please sign in to comment.