TX Text Control .NET for Windows Forms Documentation

Selection.IsCommonValueSelected Method

Overloaded. Informs about whether a certain attribute has the same value for the complete selection.

Syntax

[C#] public bool IsCommonValueSelected(Attribute attribute); public bool IsCommonValueSelected(ParagraphFormat.Attribute attribute); public bool IsCommonValueSelected(ListFormat.Attribute attribute); public bool IsCommonValueSelected(SectionFormat.Attribute attribute); public bool IsCommonValueSelected(PageMargins.Attribute attribute); public bool IsCommonValueSelected(PageSize.Attribute attribute); public bool IsCommonValueSelected(PageBorder.Attribute attribute);
[Visual Basic] Public Function IsCommonValueSelected(ByVal attribute As Attribute) As Boolean Public Function IsCommonValueSelected(ByVal attribute As ParagraphFormat.Attribute) As Boolean Public Function IsCommonValueSelected(ByVal attribute As ListFormat.Attribute) As Boolean Public Function IsCommonValueSelected(ByVal attribute As SectionFormat.Attribute) As Boolean Public Function IsCommonValueSelected(ByVal attribute As PageMargins.Attribute) As Boolean Public Function IsCommonValueSelected(ByVal attribute As PageSize.Attribute) As Boolean Public Function IsCommonValueSelected(ByVal attribute As PageBorder.Attribute) As Boolean
ParameterDescription
attribute

Specifies a possible formatting attribute. It can be a value from the Selection.Attribute, ParagraphFormat.Attribute, ListFormat.Attribute, SectionFormat.Attribute, PageMargins.Attribute, PageSize.Attribute or PageBorder.Attribute enumeration.

Return Value

The return value is true if the complete selection is formatted with the same value of the specified attribute. Otherwise it is false.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now