

'DeclarationPublic Class ConditionalFormattingTop10 Inherits ConditionalFormatting
'UsageDim instance As ConditionalFormattingTop10
public class ConditionalFormattingTop10 : ConditionalFormatting
ConditionalFormatting cf = ConditionalFormatting.CreateTop10( ConditionalFormattingStylePresets.YellowFillWithDarkYellowText, 5 ).AddAreas( "B1:B10" )
doc.Worksheets[ 0 ].ConditionalFormattings.Add( cf );
System.Object
Xceed.Workbooks.NET.ConditionalFormatting
Xceed.Workbooks.NET.ConditionalFormattingTop10
| Name | Description | |
|---|---|---|
![]() | ConditionalFormattingTop10 Constructor | Creates a ConditionalFormattingTop10. |
| Name | Description | |
|---|---|---|
![]() | Bottom | Determines if the bottom tier values are used instead of the top tier ones. |
![]() | Percent | Determines if the Rank value is transformed into a percentage. |
![]() | Rank | Represents the number of Cells that will be formatted; in other words, the number of top tier values taken into acount by the ConditionalFormattingTop10. |
| Name | Description | |
|---|---|---|
![]() | AddArea | Overloaded. Adds ConditionalFormatting to an area determined by two Cells. (Inherited from Xceed.Workbooks.NET.ConditionalFormatting) |
![]() | AddAreas | Adds ConditionalFormatting in specific areas of the Worksheet. (Inherited from Xceed.Workbooks.NET.ConditionalFormatting) |
![]() | ClearAreas | Removes all ConditionalFormattings from the Worksheet. (Inherited from Xceed.Workbooks.NET.ConditionalFormatting) |
![]() | GetAreas | Gets the areas using ConditionalFormatting. (Inherited from Xceed.Workbooks.NET.ConditionalFormatting) |
![]() | RemoveArea | Overloaded. Removes ConditionalFormatting from an area identified by Addresses. (Inherited from Xceed.Workbooks.NET.ConditionalFormatting) |
![]() | RemoveAreas | Removes ConditionalFormatting from specific areas of the Worksheet. (Inherited from Xceed.Workbooks.NET.ConditionalFormatting) |
![]() | SetCustomStyle | Sets a custom Style for the ConditionalFormatting. (Inherited from Xceed.Workbooks.NET.ConditionalFormatting) |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.