A collection of custom visual state triggers
See more information on my blog: http://www.sharpgis.net/post/2015/03/24/Using-Custom-Visual-State-Triggers
DeviceFamilyAdaptiveTrigger
: Trigger based on the device family (Desktop or Phone)NetworkConnectionStateTrigger
: Trigger if internet connection is available or notOrientationStateTrigger
: Trigger based on portrait/landscape modeIsTrueStateTrigger
: Trigger if a value is trueIsFalseStateTrigger
: Trigger if a value is falseIsTypePresentStateTrigger
: Trigger if a type is present (ie hardware backbutton etc)EqualsStateTrigger
: Trigger ifValue
is equal toEqualTo
NotEqualStateTrigger
: Trigger ifValue
is not equal toNotEqualTo
CompareStateTrigger
: Trigger ifValue
is equal, less than or greater thanCompareTo
Run the test app to see a set of examples of these in use.