31 references to PropertyFilterOptions
PresentationFramework (1)
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
430
private static Attribute[] _propertyAttributes = new Attribute[] { new PropertyFilterAttribute(
PropertyFilterOptions
.SetValues) };
WindowsBase (30)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (14)
77
PropertyFilterOptions
filter =
PropertyFilterOptions
.Valid |
PropertyFilterOptions
.SetValues;
92
if (filter ==
PropertyFilterOptions
.None)
111
if (filter ==
PropertyFilterOptions
.SetValues)
145
PropertyFilterOptions
anySet =
PropertyFilterOptions
.SetValues |
PropertyFilterOptions
.UnsetValues;
146
PropertyFilterOptions
anyValid =
PropertyFilterOptions
.Valid |
PropertyFilterOptions
.Invalid;
156
addProp = canAttach ^ ((filter & anyValid) ==
PropertyFilterOptions
.Invalid);
163
addProp = shouldSerialize ^ ((filter & anySet) ==
PropertyFilterOptions
.UnsetValues);
166
else if ((filter &
PropertyFilterOptions
.SetValues) != 0 && _instance.ContainsValue(dp) && !kind.IsDirect && !kind.IsInternal)
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (12)
98
PropertyFilterOptions
filter =
PropertyFilterOptions
.Valid |
PropertyFilterOptions
.SetValues;
116
if (filter ==
PropertyFilterOptions
.None || filter ==
PropertyFilterOptions
.Invalid)
125
if (filter ==
PropertyFilterOptions
.SetValues)
180
bool addProp = shouldSerialize ^ ((filter & _anySet) ==
PropertyFilterOptions
.UnsetValues);
393
private const
PropertyFilterOptions
_anySet =
PropertyFilterOptions
.SetValues |
PropertyFilterOptions
.UnsetValues;
394
private const
PropertyFilterOptions
_anyValid =
PropertyFilterOptions
.Valid;
Base\System\ComponentModel\PropertyFilterAttribute.cs (4)
30
public PropertyFilterAttribute(
PropertyFilterOptions
filter)
101
public
PropertyFilterOptions
Filter
130
public static readonly PropertyFilterAttribute Default = new PropertyFilterAttribute(
PropertyFilterOptions
.All);
143
private
PropertyFilterOptions
_filter;