PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / Style Class


In This Topic
    Style Class Properties
    In This Topic

    For a list of all members of this type, see Style members.

    Public Properties
     NameDescription
    Public PropertyGets or sets a C1HyperlinkAttrs for active hyperlinks.  
    Public PropertyGets or sets the expression used to calculate ActiveHyperlinkAttrs.  
    Public PropertyGets 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.

     
    Public PropertyGets or sets the background color. If both this and Brush properties are specified for a style, this property takes precedence.  
    Public PropertyGets or sets the expression used to calculate BackColor.  
    Public PropertyGets or sets the background image. The image is aligned using BackgroundImageAlign.  
    Public PropertyGets or sets the background image alignment.  
    Public PropertyGets or sets the expression used to calculate BackgroundImage.  
    Public PropertyGets or sets the name of the background image in C1PrintDocument.Dictionary on the current document.  
    Public PropertyGets or sets the borders drawn around the current style's owner object.  
    Public PropertyGets or sets the brush used to fill the background. If both this and BackColor properties are specified for a style, the BackColor takes precedence.  
    Public PropertyGets or sets the expression used to calculate Brush.  
    Public PropertyGets or sets the spacing between characters in a text.  
    Public PropertyGets or sets the expression used to calculate CharSpacing.  
    Public PropertyGets or sets the amount (in percent) by which to increase or decrease the widths of characters in a text.  
    Public PropertyGets or sets the expression used to calculate CharWidth.  
    Public PropertyGets the collection of child styles (i.e. Style objects that have their Parent set to the current style).  
    Public PropertyGets 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.  
    Public PropertyGets or sets the expression used to calculate ClientAreaOnly.  
    Public PropertyGets or sets the alignment of the current style's owner object within its container in a block flow.  
    Public PropertyGets or sets the alignment of children of the current style's owner object in a block flow.  
    Public PropertyGets or sets the expression used to calculate FlowAlignChildren.  
    Public PropertyGets or sets the expression used to calculate FlowAlign.  
    Public PropertyGets or sets the font.  
    Public PropertyGets or sets a value indicating whether the font is bold.  
    Public PropertyGets or sets the expression used to calculate FontBold.  
    Public PropertyGets or sets a value indicating whether the font is italic.  
    Public PropertyGets or sets the expression used to calculate FontItalic.  
    Public PropertyGets or sets the face name of the font.  
    Public PropertyGets or sets the expression used to calculate FontName.  
    Public PropertyGets or sets the em-size of the font.  
    Public PropertyGets or sets the expression used to calculate FontSize.  
    Public PropertyGets or sets a value indicating whether the font is strikeout.  
    Public PropertyGets or sets the expression used to calculate FontStrikeout.  
    Public PropertyGets or sets a value indicating whether the font is underlined.  
    Public PropertyGets or sets the expression used to calculate FontUnderline.  
    Public PropertyGets or sets the grid lines used to draw tables.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the BackColor property is defined on the current style.  
    Public PropertyGets a value indicating whether the BackgroundImage property is defined on the current style.  
    Public PropertyGets a value indicating whether the Brush property is defined on the current style.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the current style's Children collection has been initialized and contains one or more elements.  
    Public PropertyGets a value indicating whether the ClientAreaOnly property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
    Public PropertyGets a value indicating whether the current style has calculated properties.  
    Public PropertyGets a value indicating whether the FlowAlign property is defined on the current style.  
    Public PropertyGets a value indicating whether the FlowAlignChildren property is defined on the current style.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the MeasureTrailingSpaces property is defined on the current style. If false, the actual value of the property is fetched from the parent (container) object's style.  
    Public PropertyGets a value indicating whether the MinOrphanLines property is defined on the current style.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the ShapeFillBrush property is defined on the current style.  
    Public PropertyGets a value indicating whether the ShapeFillColor property is defined on the current style.  
    Public PropertyGets a value indicating whether the ShapeLine property is defined on the current style.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the TextIndent property is defined on the current style.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets a value indicating whether the 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.  
    Public PropertyGets or sets a C1HyperlinkAttrs for highlighted hyperlinks.  
    Public PropertyGets or sets the expression used to calculate HoverHyperlinkAttrs.  
    Public PropertyGets or sets a C1HyperlinkAttrs for "normal" (neither visited nor highlighted) hyperlinks.  
    Public PropertyGets or sets the expression used to calculate HyperlinkAttrs.  
    Public PropertyGets or sets the foreground image alignment.  
    Public PropertyGets or sets a value indicating whether lines of text ending with a newline character should be justified if the current style has TextAlignHorz set to Justify or AlignHorzEnum.JustifyChars.  
    Public PropertyGets or sets the expression used to calculate JustifyEndOfLines.  
    Public PropertyGets or sets a value indicating whether the last line of text should be justified if the current style has TextAlignHorz set to Justify or AlignHorzEnum.JustifyChars.  
    Public PropertyGets or sets the expression used to calculate JustifyLastLine.  
    Public PropertyGets or sets the line spacing of a text in percent.  
    Public PropertyGets or sets the expression used to calculate LineSpacing.  
    Public PropertyGets or sets a value indicating whether spaces at ends of text lines are taken into account when measuring the text.  
    Public PropertyGets or sets the expression used to calculate MeasureTrailingSpaces.  
    Public PropertyGets or sets the minimum number of orphan text lines allowed on a page before or after a page break.  
    Public PropertyGets or sets the expression used to calculate MinOrphanLines.  
    Public PropertyGets the owner of the current style.  
    Public PropertyGets or sets the padding (white space added between the style owner's content and borders).  
    Public PropertyGets 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.

     
    Public PropertySets both parents (Parent and AmbientParent) to the same value.  
    Public PropertyGets or sets a value indicating whether right-to-left text rendering rules should be used.  
    Public PropertyGets 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.  
    Public PropertyGets or sets the brush used to fill internal areas of shapes (objects derived from RenderShapeBase). If for a style both this and ShapeFillColor are specified, ShapeFillColor takes precedence.  
    Public PropertyGets or sets the expression used to calculate ShapeFillBrush.  
    Public PropertyGets or sets the color used to fill internal areas of shapes (objects derived from RenderShapeBase). If for a style both this and ShapeFillBrush are specified, this property takes precedence.  
    Public PropertyGets or sets the expression used to calculate ShapeFillBrush.  
    Public PropertyGets or sets the style of lines used to draw shape objects (RenderLine, RenderRectangle etc).  
    Public PropertyGets or sets the expression used to calculate ShapeLine.  
    Public PropertyGets or sets the spacing between the the current style's owner and the surrounding objects.  
    Public PropertyGets or sets the horizontal text alignment.  
    Public PropertyGets or sets the expression used to calculate TextAlignHorz.  
    Public PropertyGets or sets the vertical text alignment.  
    Public PropertyGets or sets the expression used to calculate TextAlignVert.  
    Public PropertyGets or sets the text rotation angle, in degrees counterclockwise from the X axis.  
    Public PropertyGets or sets the expression used to calculate TextAngle.  
    Public PropertyGets or sets the text (foreground) color.  
    Public PropertyGets or sets the expression used to calculate TextColor.  
    Public PropertyGets or sets the indentation of the first line in a block of text.  
    Public PropertyGets or sets the expression used to calculate TextIndent.  
    Public PropertyGets or sets a value indicating whether text is rendered normally, or as superscript or subscript.  
    Public PropertyGets or sets the expression used to calculate TextPosition.  
    Public PropertyGets or sets a C1HyperlinkAttrs for visited hyperlinks.  
    Public PropertyGets or sets the expression used to calculate VisitedHyperlinkAttrs.  
    Public PropertyGets or sets a value indicating whether text automatically wraps to the next line when there is not enough space left on the current line.  
    Public PropertyGets or sets the expression used to calculate WordWrap.  
    Public PropertyGets or sets a value indicating how words can be split when text lines wrap.

    This property is ignored if WordWrap is false.

    The default value is WordWrapMode.Normal

     
    Public PropertyGets or sets the expression used to calculate WordWrapMode.  
    Top
    See Also