Sdílet prostřednictvím


Style Class

Contains information about the style of a report item.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Class Style _
    Inherits ReportObject
'Usage
Dim instance As Style
public class Style : ReportObject
public ref class Style : public ReportObject
type Style =  
    class
        inherit ReportObject
    end
public class Style extends ReportObject

The Style type exposes the following members.

Constructors

  Name Description
Public method Style Creates a new instance of the Style class.

Top

Properties

  Name Description
Public property BackgroundColor Color of the background.
Public property BackgroundGradientEndColor End color for the background gradient.
Public property BackgroundGradientType The type of background gradient.
Public property BackgroundHatchType Hatch type.
Public property BackgroundImage A background image for the object.
Public property Border Default border properties.
Public property BottomBorder Properties of the bottom border.
Public property Calendar Indicates the calendar to use for formatting dates.
Public property Color The foreground color.
Public property ComponentMetadata The component metadata. (Inherited from ReportObject.)
Public property Direction Indicates whether text is written left-to-right or right-to-left.
Public property FontFamily Name of the font family.
Public property FontSize Point size of the font.
Public property FontStyle Font style.
Public property FontWeight Thickness of the font.
Public property Format .NET Framework formatting string. See https://msdn2.microsoft.com/en-us/library/fbxft59x.aspx.
Public property FormatSymbolCulture The culture of the format symbols.
Public property Language The primary language of the text. Default is Report language.
Public property LeftBorder Properties of the left border.
Public property LineHeight Height of a line of text.
Public property NumeralLanguage The digit format to use as described by its primary language. Any language is valid. Default is the Language property.
Public property NumeralVariant The variant of the digit format to use.
Public property PaddingBottom Padding between the bottom edge of the report item and its contents.
Public property PaddingLeft Padding between the left edge of the report item and its contents.
Public property PaddingRight Padding between the right edge of the report item and its contents.
Public property PaddingTop Padding between the top edge of the report item and its contents.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
Public property RightBorder Properties of the right border.
Public property ShadowColor Color of the shadow for the item.
Public property ShadowOffset Size of the shadow for the item.
Public property Site Infrastructure. (Inherited from ReportObject.)
Public property TextAlign Horizontal alignment of the text.
Public property TextDecoration Special text formatting.
Public property TextEffect Effect to apply to the text.
Public property TopBorder Properties of the top border.
Public property UnicodeBiDi Indicates the level of embedding with respect to the bi-directional algorithm.
Public property VerticalAlign Vertical alignment of the text.
Public property WritingMode Indicates whether text is written horizontally or vertically.

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. (Inherited from ReportObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes an instance of the Style class. (Overrides ReportObject.Initialize().)
Protected method InitializeForDesigner Infrastructure. (Overrides ReportObject.InitializeForDesigner().)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from ReportObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.