Share 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.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:

  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

Microsoft.Windows.Design.PropertyEditing Namespace

PropertyEntry

PropertyValueEditor

Other Resources

WPF Designer Extensibility

Property Editing Architecture