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

Represents a bit vector used to track the state of document elements in the Telerik document layout system.

Definition

Namespace:Telerik.Windows.Documents.Layout

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class DocumentElementStateBitVector

Inheritance: objectDocumentElementStateBitVector

Constructors

C#
public DocumentElementStateBitVector()
C#
public DocumentElementStateBitVector(DocumentElementStateBitVector source)
Parameters:sourceDocumentElementStateBitVector

Properties

Gets the UInt64 structure holding the separate bits of the vector.

C#
public DocumentElementStates Data { get; }

Determines whether the bit, corresponding to the specified key is set

C#
public bool this[DocumentElementStates key] { get; set; }
Parameters:keyDocumentElementStates

Methods

Determines whether the specified object is equal to the current instance.

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

The object to compare with the current instance.

Returns:

bool

true if the specified object is equal to the current instance; otherwise, false.

Overrides: object.Equals(object)

Gets the hash code for the current instance of the DocumentElementStateBitVector.

C#
public override int GetHashCode()
Returns:

int

A hash code that is compatible with the default hash function for the current instance.

Overrides: object.GetHashCode()

Clears all currently set bits in this vector.

C#
public void Reset()

Operators

C#
public static bool operator !=(DocumentElementStateBitVector vector1, DocumentElementStateBitVector vector2)
Parameters:vector1DocumentElementStateBitVectorvector2DocumentElementStateBitVectorReturns:

bool

C#
public static bool operator ==(DocumentElementStateBitVector vector1, DocumentElementStateBitVector vector2)
Parameters:vector1DocumentElementStateBitVectorvector2DocumentElementStateBitVectorReturns:

bool