Returns the
DestinationValue value if the contains the
RequiredStates and does not contain any of the
DisallowedStates
Parameters
- value
- The enumeration value for which the required and disallowed states will be checked
- targetType
- The type of the target property
- parameter
- The parameter to use for the conversion. This parameter is not used.
- culture
- The culture to use for the conversion. This parameter is not used.
Return Value
If the value is an enumeration with the required and disallowed flags then
DestinationValue is returned. If it is an enumeration that doesn't meet the criteria then FallbackValue is returned. Otherwise DependencyProperty.UnsetValue is returned.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2