public static IEnumerable<SnapMode> SnapModes {get; set;}
Public Shared Property SnapModes As IEnumerable(Of SnapMode)
public static IEnumerable<SnapMode> SnapModes {get; set;}
Public Shared Property SnapModes As IEnumerable(Of SnapMode)
//Get the current snapping modes foreach (var snappingMode in Snapping.SnapModes) { ... } // do something for currently set snapping modes //Set the current snapping modes var modes = Snapping.SnapModes; Snapping.SnapModes = modes;
Target Platforms: Windows 10, Windows 8.1