New to Telerik UI for WPFStart a free 30-day trial

Define how selection will be modified.

Definition

Namespace:Telerik.Windows.Data.Selection

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public struct SelectionModificationOptions

Inherited Members ValueType.ToString()

Properties

Gets or sets a value indicating whether selection should be extended.

C#
public bool Extend { readonly get; set; }
Property Value:

true if should extend; otherwise, false.

Gets or sets a value indicating whether selection should be minimally modified.

C#
public bool MinimallyModify { readonly get; set; }
Property Value:

true if should minimally modify; otherwise, false.

Methods

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: ValueType.Equals(object)

Equalises the specified other option.

C#
public bool Equals(SelectionModificationOptions otherOption)
Parameters:otherOptionSelectionModificationOptions

The other option.

Returns:

bool

C#
public override int GetHashCode()
Returns:

int

Overrides: ValueType.GetHashCode()

Operators

Implements the operator !=.

C#
public static bool operator !=(SelectionModificationOptions firstOptions, SelectionModificationOptions secondOptions)
Parameters:firstOptionsSelectionModificationOptions

The first options.

secondOptionsSelectionModificationOptions

The second options.

Returns:

bool

The result of the operator.

Implements the operator ==.

C#
public static bool operator ==(SelectionModificationOptions firstOptions, SelectionModificationOptions secondOptions)
Parameters:firstOptionsSelectionModificationOptions

The first options.

secondOptionsSelectionModificationOptions

The second options.

Returns:

bool

The result of the operator.