Delen via


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 (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property IsMixedValue As Boolean
'Usage
Dim instance As PropertyValue 
Dim value As Boolean 

value = instance.IsMixedValue
public abstract bool IsMixedValue { get; }
public:
virtual property bool IsMixedValue {
    bool get () abstract;
}
public 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:

  1. Select two Button objects.

  2. Set the Background property of the first Button to black.

  3. Set the Background property of the second Button to blue.

For the background property of the selection, IsMixedValue returns true.

.NET Framework Security

See Also

Reference

PropertyValue Class

PropertyValue Members

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture