PropertyValue.IsMixedValue Property
When overridden in a derived class, gets a value indicating whether this property value represents a property for multiple objects that have more than one value.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property IsMixedValue As Boolean
Get
public abstract bool IsMixedValue { get; }
public:
virtual property bool IsMixedValue {
bool get () abstract;
}
abstract IsMixedValue : bool
abstract function get IsMixedValue () : boolean
Property Value
Type: System.Boolean
true if this value represents a property for multiple objects that have more than one value; otherwise, false.
Remarks
If this property is true, then Value should return nulla null reference (Nothing in Visual Basic) and StringValue should return Empty.
An example of a situation where IsMixedValue returns true is the following:
Select two Button objects.
Set the Background property of the first Button to black.
Set the Background property of the second Button to blue.
For the background property of the selection, IsMixedValue returns true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.PropertyEditing Namespace