C1.C1Preview Namespace : Style Class |
The following tables list the members exposed by Style.
Name | Description | |
---|---|---|
ActiveHyperlinkAttrs | Gets or sets a C1HyperlinkAttrs for active hyperlinks. | |
ActiveHyperlinkAttrsExpr | Gets or sets the expression used to calculate Style.ActiveHyperlinkAttrs. | |
AmbientParent | Gets or sets the Style that is the ambient parent of the current style.
If non-null, that style provides the values for ambient properties of the current style that have not been explicitly set. If null, such properties are inherited from the style of the containing object. This property is null by default. | |
BackColor | Gets or sets the background color. If both this and Style.Brush properties are specified for a style, this property takes precedence. | |
BackColorExpr | Gets or sets the expression used to calculate Style.BackColor. | |
BackgroundImage | Gets or sets the background image. The image is aligned using Style.BackgroundImageAlign. | |
BackgroundImageAlign | Gets or sets the background image alignment. | |
BackgroundImageExpr | Gets or sets the expression used to calculate Style.BackgroundImage. | |
BackgroundImageName | Gets or sets the name of the background image in C1PrintDocument.Dictionary on the current document. | |
Borders | Gets or sets the borders drawn around the current style's owner object. | |
Brush | Gets or sets the brush used to fill the background. If both this and Style.BackColor properties are specified for a style, the BackColor takes precedence. | |
BrushExpr | Gets or sets the expression used to calculate Style.Brush. | |
CharSpacing | Gets or sets the spacing between characters in a text. | |
CharSpacingExpr | Gets or sets the expression used to calculate Style.CharSpacing. | |
CharWidth | Gets or sets the amount (in percent) by which to increase or decrease the widths of characters in a text. | |
CharWidthExpr | Gets or sets the expression used to calculate Style.CharWidth. | |
Children | Gets the collection of child styles (i.e. Style objects that have their Style.Parent set to the current style). | |
ClientAreaOnly | Gets or sets a value indicating whether just the client area of a System.Windows.Forms.Control, or the whole control, is rendered by the RenderImage object owning the current style. | |
ClientAreaOnlyExpr | Gets or sets the expression used to calculate Style.ClientAreaOnly. | |
FlowAlign | Gets or sets the alignment of the current style's owner object within its container in a block flow. | |
FlowAlignChildren | Gets or sets the alignment of children of the current style's owner object in a block flow. | |
FlowAlignChildrenExpr | Gets or sets the expression used to calculate Style.FlowAlignChildren. | |
FlowAlignExpr | Gets or sets the expression used to calculate Style.FlowAlign. | |
Font | Gets or sets the font. | |
FontBold | Gets or sets a value indicating whether the font is bold. | |
FontBoldExpr | Gets or sets the expression used to calculate Style.FontBold. | |
FontItalic | Gets or sets a value indicating whether the font is italic. | |
FontItalicExpr | Gets or sets the expression used to calculate Style.FontItalic. | |
FontName | Gets or sets the face name of the font. | |
FontNameExpr | Gets or sets the expression used to calculate Style.FontName. | |
FontSize | Gets or sets the em-size of the font. | |
FontSizeExpr | Gets or sets the expression used to calculate Style.FontSize. | |
FontStrikeout | Gets or sets a value indicating whether the font is strikeout. | |
FontStrikeoutExpr | Gets or sets the expression used to calculate Style.FontStrikeout. | |
FontUnderline | Gets or sets a value indicating whether the font is underlined. | |
FontUnderlineExpr | Gets or sets the expression used to calculate Style.FontUnderline. | |
GridLines | Gets or sets the grid lines used to draw tables. | |
HasActiveHyperlinkAttrs | Gets a value indicating whether the Style.ActiveHyperlinkAttrs property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasBackColor | Gets a value indicating whether the Style.BackColor property is defined on the current style. | |
HasBackgroundImage | Gets a value indicating whether the Style.BackgroundImage property is defined on the current style. | |
HasBrush | Gets a value indicating whether the Style.Brush property is defined on the current style. | |
HasCharSpacing | Gets a value indicating whether the Style.CharSpacing property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasCharWidth | Gets a value indicating whether the Style.CharWidth property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasChildren | Gets a value indicating whether the current style's Style.Children collection has been initialized and contains one or more elements. | |
HasClientAreaOnly | Gets a value indicating whether the ClietAreaOnly property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasExprs | Gets a value indicating whether the current style has calculated properties. | |
HasFlowAlign | Gets a value indicating whether the Style.FlowAlign property is defined on the current style. | |
HasFlowAlignChildren | Gets a value indicating whether the Style.FlowAlignChildren property is defined on the current style. | |
HasFont | Gets a value indicating whether the Style.Font property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasFontBold | Gets a value indicating whether the Style.FontBold property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasFontItalic | Gets a value indicating whether the Style.FontItalic property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasFontName | Gets a value indicating whether the Style.FontName property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasFontSize | Gets a value indicating whether the Style.FontSize property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasFontStrikeout | Gets a value indicating whether the Style.FontStrikeout property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasFontUnderline | Gets a value indicating whether the Style.FontUnderline property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasHoverHyperlinkAttrs | Gets a value indicating whether the Style.HoverHyperlinkAttrs property is specified for current Style object. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasHyperlinkAttrs | Gets a value indicating whether the Style.HyperlinkAttrs property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasJustifyEndOfLines | Gets a value indicating whether the Style.JustifyEndOfLines property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasJustifyLastLine | Gets a value indicating whether the Style.JustifyLastLine property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasLineSpacing | Gets a value indicating whether the Style.LineSpacing property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasMeasureTrailingSpaces | Gets a value indicating whether the MeasureTralingSpaces property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasMinOrphanLines | Gets a value indicating whether the Style.MinOrphanLines property is defined on the current style. | |
HasRightToLeft | Gets a value indicating whether the Style.RightToLeft property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasShapeFillBrush | Gets a value indicating whether the Style.ShapeFillBrush property is defined on the current style. | |
HasShapeFillColor | Gets a value indicating whether the Style.ShapeFillColor property is defined on the current style. | |
HasShapeLine | Gets a value indicating whether the Style.ShapeLine property is defined on the current style. | |
HasTextAlignHorz | Gets a value indicating whether the Style.TextAlignHorz property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasTextAlignVert | Gets a value indicating whether the Style.TextAlignVert property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasTextAngle | Gets a value indicating whether the Style.TextAngle property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasTextColor | Gets a value indicating whether the Style.TextColor property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasTextIndent | Gets a value indicating whether the Style.TextIndent property is defined on the current style. | |
HasTextPosition | Gets a value indicating whether the Style.TextPosition property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasVisitedHyperlinkAttrs | Gets a value indicating whether the Style.VisitedHyperlinkAttrs property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasWordWrap | Gets a value indicating whether the Style.WordWrap property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HasWordWrapMode | Gets a value indicating whether the Style.WordWrapMode property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style. | |
HoverHyperlinkAttrs | Gets or sets a C1HyperlinkAttrs for highlighted hyperlinks. | |
HoverHyperlinkAttrsExpr | Gets or sets the expression used to calculate Style.HoverHyperlinkAttrs. | |
HyperlinkAttrs | Gets or sets a C1HyperlinkAttrs for "normal" (neither visited nor highlighted) hyperlinks. | |
HyperlinkAttrsExpr | Gets or sets the expression used to calculate Style.HyperlinkAttrs. | |
ImageAlign | Gets or sets the foreground image alignment. | |
JustifyEndOfLines | Gets or sets a value indicating whether lines of text ending with a newline character should be justified if the current style has Style.TextAlignHorz set to AlignHorzEnum.Justify or AlignHorzEnum.JustifyChars. | |
JustifyEndOfLinesExpr | Gets or sets the expression used to calculate Style.JustifyEndOfLines. | |
JustifyLastLine | Gets or sets a value indicating whether the last line of text should be justified if the current style has Style.TextAlignHorz set to AlignHorzEnum.Justify or AlignHorzEnum.JustifyChars. | |
JustifyLastLineExpr | Gets or sets the expression used to calculate Style.JustifyLastLine. | |
LineSpacing | Gets or sets the line spacing of a text in percent. | |
LineSpacingExpr | Gets or sets the expression used to calculate Style.LineSpacing. | |
MeasureTrailingSpaces | Gets or sets a value indicating whether spaces at ends of text lines are taken into account when measuring the text. | |
MeasureTrailingSpacesExpr | Gets or sets the expression used to calculate Style.MeasureTrailingSpaces. | |
MinOrphanLines | Gets or sets the minimum number of orphan text lines allowed on a page before or after a page break. | |
MinOrphanLinesExpr | Gets or sets the expression used to calculate Style.MinOrphanLines. | |
Owner | Gets the owner of the current style. | |
Padding | Gets or sets the padding (white space added between the style owner's content and borders). | |
Parent | Gets or sets the Style that is the parent of the current style.
If non-null, that style provides the values for non-ambient properties of the current style that have not been explicitly set. If null, such properties have default values. This property is null by default. | |
Parents | Sets both parents (Style.Parent and Style.AmbientParent) to the same value. | |
RightToLeft | Gets or sets a value indicating whether right-to-left text rendering rules should be used. | |
Shadow | Gets or sets properties of the shadow cast by the current object. By default the shadow is invisible due to being 100% transparent. Set Shadow.Transparency to a value less than 100, to show shadow. Other properties can be adjusted as needed. | |
ShapeFillBrush | Gets or sets the brush used to fill internal areas of shapes (objects derived from RenderShapeBase). If for a style both this and Style.ShapeFillColor are specified, ShapeFillColor takes precedence. | |
ShapeFillBrushExpr | Gets or sets the expression used to calculate Style.ShapeFillBrush. | |
ShapeFillColor | Gets or sets the color used to fill internal areas of shapes (objects derived from RenderShapeBase). If for a style both this and Style.ShapeFillBrush are specified, this property takes precedence. | |
ShapeFillColorExpr | Gets or sets the expression used to calculate Style.ShapeFillBrush. | |
ShapeLine | Gets or sets the style of lines used to draw shape objects (RenderLine, RenderRectangle etc). | |
ShapeLineExpr | Gets or sets the expression used to calculate Style.ShapeLine. | |
Spacing | Gets or sets the spacing between the the current style's owner and the surrounding objects. | |
TextAlignHorz | Gets or sets the horizontal text alignment. | |
TextAlignHorzExpr | Gets or sets the expression used to calculate Style.TextAlignHorz. | |
TextAlignVert | Gets or sets the vertical text alignment. | |
TextAlignVertExpr | Gets or sets the expression used to calculate Style.TextAlignVert. | |
TextAngle | Gets or sets the text rotation angle, in degrees counterclockwise from the X axis. | |
TextAngleExpr | Gets or sets the expression used to calculate Style.TextAngle. | |
TextColor | Gets or sets the text (foreground) color. | |
TextColorExpr | Gets or sets the expression used to calculate Style.TextColor. | |
TextIndent | Gets or sets the indentation of the first line in a block of text. | |
TextIndentExpr | Gets or sets the expression used to calculate Style.TextIndent. | |
TextPosition | Gets or sets a value indicating whether text is rendered normally, or as superscript or subscript. | |
TextPositionExpr | Gets or sets the expression used to calculate Style.TextPosition. | |
VisitedHyperlinkAttrs | Gets or sets a C1HyperlinkAttrs for visited hyperlinks. | |
VisitedHyperlinkAttrsExpr | Gets or sets the expression used to calculate Style.VisitedHyperlinkAttrs. | |
WordWrap | Gets or sets a value indicating whether text automatically wraps to the next line when there is not enough space left on the current line. | |
WordWrapExpr | Gets or sets the expression used to calculate Style.WordWrap. | |
WordWrapMode | Gets or sets a value indicating how words can be split when text lines wrap.
This property is ignored if Style.WordWrap is false. The default value is WordWrapMode.Normal | |
WordWrapModeExpr | Gets or sets the expression used to calculate Style.WordWrapMode. |
Name | Description | |
---|---|---|
AssignNonInheritedFrom | Copies to the current style all properties of another Style object that have been explicitly set on that other style, plus the values of the Style.Parent and Style.AmbientParent properties. | |
Clear | Clears the current style, resets all properties so that they inherit from the parent style. | |
ResetActiveHyperlinkAttrs | Resets the Style.ActiveHyperlinkAttrs property to an undefined state. | |
ResetBackColor | Resets the Style.BackColor property to an undefined state. | |
ResetBackgroundImage | Resets the Style.BackgroundImage property to an undefined state. | |
ResetBrush | Resets the Style.Brush property to an undefined state. | |
ResetCharSpacing | Resets the Style.CharSpacing property to an undefined state. | |
ResetCharWidth | Resets the Style.CharWidth property to an undefined state. | |
ResetClientAreaOnly | Resets the Style.ClientAreaOnly property to an undefined state. | |
ResetFlowAlign | Resets the Style.FlowAlign property to an undefined state. | |
ResetFlowAlignChildren | Resets the Style.FlowAlignChildren property to an undefined state. | |
ResetFont | Resets the Style.Font property to an undefined state. | |
ResetFontBold | Resets the Style.FontBold property to an undefined state. | |
ResetFontItalic | Resets the Style.FontItalic property to an undefined state. | |
ResetFontName | Resets the Style.FontName property to an undefined state. | |
ResetFontSize | Resets the Style.FontSize property to an undefined state. | |
ResetFontStrikeout | Resets the Style.FontStrikeout property to an undefined state. | |
ResetFontUnderline | Resets the Style.FontUnderline property to an undefined state. | |
ResetHoverHyperlinkAttrs | Resets value of the Style.HoverHyperlinkAttrs property. | |
ResetHyperlinkAttrs | Resets the Style.HyperlinkAttrs property to an undefined state. | |
ResetJustifyEndOfLines | Resets the Style.JustifyEndOfLines property to an undefined state. | |
ResetJustifyLastLine | Resets the Style.JustifyLastLine property to an undefined state. | |
ResetLineSpacing | Resets the Style.LineSpacing property to an undefined state. | |
ResetMeasureTrailingSpaces | Resets the Style.MeasureTrailingSpaces property to an undefined state. | |
ResetMinOrphanLines | Resets the Style.MinOrphanLines property to an undefined state. | |
ResetRightToLeft | Resets the Style.RightToLeft property to an undefined state. | |
ResetShapeFillBrush | Resets the Style.ShapeFillBrush property to an undefined state. | |
ResetShapeFillColor | Resets the Style.ShapeFillColor property to an undefined state. | |
ResetShapeLine | Resets the Style.ShapeLine property to an undefined state. | |
ResetTextAlignHorz | Resets the Style.TextAlignHorz property to an undefined state. | |
ResetTextAlignVert | Resets the Style.TextAlignVert property to an undefined state. | |
ResetTextAngle | Resets the Style.TextAngle property to an undefined state. | |
ResetTextColor | Resets the Style.TextColor property to an undefined state. | |
ResetTextIndent | Resets the Style.TextIndent property to an undefined state. | |
ResetTextPosition | Resets the Style.TextPosition property to an undefined state. | |
ResetVisitedHyperlinkAttrs | Resets the Style.VisitedHyperlinkAttrs property to undefined state. | |
ResetWordWrap | Resets the Style.WordWrap property to an undefined state. | |
ResetWordWrapMode | Resets the Style.WordWrapMode property to an undefined state. |