Class
OfficeThemeRule
OfficeIMO
A horizontal rule (colour and stroke width) drawn under a title, a table header or above a footer.
Inheritance
- object
- OfficeThemeRule
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Property OfficeThemeFooter.Rule
- Method OfficeThemeRule.With
- Property OfficeThemeRule.None
- Property OfficeThemeTableStyle.HeaderRule
- Property OfficeThemeTextStyle.TitleRule
Accepted by parameters 6
- Constructor OfficeThemeFooter.OfficeThemeFooter
- Method OfficeThemeFooter.With
- Constructor OfficeThemeTableStyle.OfficeThemeTableStyle
- Method OfficeThemeTableStyle.With
- Constructor OfficeThemeTextStyle.OfficeThemeTextStyle
- Method OfficeThemeTextStyle.With
Constructors
public OfficeThemeRule(OfficeColor color, OfficeLength width) #Creates an immutable rule.
Parameters
- color OfficeIMO.OfficeColor
- width OfficeIMO.OfficeLength
Methods
public OfficeThemeRule With(OfficeColor? color = null, OfficeLength? width = null) #Returns a copy with the supplied replacements; omitted values are retained.
Parameters
- color OfficeIMO.OfficeColor? = null
- width OfficeIMO.OfficeLength? = null
Returns
OfficeThemeRuleInherited Methods
Properties
public OfficeColor Color { get; } #Gets the rule colour, which may refer to a theme role.