Click or drag to resize

MultipleBorders Methods

The MultipleBorders type exposes the following members.

Public methodCode exampleAdd
Sets the specified borders. This method is required to support C# collection initializer syntax and redirects its call to the SetBorders(MultipleBorderTypes, BorderStyle, Color, Double) method.
Public methodClearBorders
Clears all borders.
Public methodClearBorders(MultipleBorderTypes)
Clears the specified borders.
Public methodEquals
Determines whether the specified Object is equal to this MultipleBorders instance.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Returns a hash code for this MultipleBorders instance.
(Overrides ObjectGetHashCode.)
Public methodCode exampleSetBorders
Sets the specified borders.
Public methodStatic memberToSingleBorderTypes
Converts a MultipleBorderTypes flags enumeration to a sequence of SingleBorderType enumeration.
Explicit Interface Implementations
Explicit interface implementationPrivate methodCode exampleIEnumerableGetEnumerator

Returns an enumerator that iterates through all SingleBorders supported in this MultipleBorders instance.

IEnumerable interface is required to support C# collection initializer syntax.

See Also