Share via


Style Class

Contains information about the style of a report item.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.Style
        Microsoft.ReportingServices.RdlObjectModel.EmptyColorStyle

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 Gets or sets the color of the background.
Public property BackgroundGradientEndColor Gets or sets the end color for the background gradient.
Public property BackgroundGradientType Gets or sets the type of background gradient.
Public property BackgroundHatchType Gets or sets the hatch type.
Public property BackgroundImage Gets or sets the a background image for the object.
Public property Border Gets or sets the default border properties.
Public property BottomBorder Gets or sets the properties of the bottom border.
Public property Calendar Gets or sets a value that indicates whether the calendar to use for formatting dates.
Public property Color Gets or sets the foreground color.
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property Direction Gets or sets a value that indicates whether text is written left-to-right or right-to-left.
Public property FontFamily Gets or sets the name of the font family.
Public property FontSize Gets or sets the point size of the font.
Public property FontStyle Gets or sets the font style.
Public property FontWeight Gets or sets the thickness of the font.
Public property Format Gets or sets the .NET Framework formatting string. See https://msdn2.microsoft.com/en-us/library/fbxft59x.aspx.
Public property FormatSymbolCulture Gets or sets the culture of the format symbols.
Public property Language Gets or sets the primary language of the text. Default is Report language.
Public property LeftBorder Gets or sets the properties of the left border.
Public property LineHeight Gets or sets the height of a line of text.
Public property NumeralLanguage Gets or sets the digit format to use as described by its primary language. Any language is valid. Default is the Language property.
Public property NumeralVariant Gets or sets the variant of the digit format to use.
Public property PaddingBottom Gets or sets the padding between the bottom edge of the report item and its contents.
Public property PaddingLeft Gets or sets the padding between the left edge of the report item and its contents.
Public property PaddingRight Gets or sets the padding between the right edge of the report item and its contents.
Public property PaddingTop Gets or sets the 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 Gets or sets the properties of the right border.
Public property ShadowColor Gets or sets the color of the shadow for the item.
Public property ShadowOffset Gets or sets the size of the shadow for the item.
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property TextAlign Gets or sets the horizontal alignment of the text.
Public property TextDecoration Gets or sets the special text formatting.
Public property TextEffect Gets or sets the effect to apply to the text.
Public property TopBorder Gets or sets the properties of the top border.
Public property UnicodeBiDi Gets or sets a value that indicates the level of embedding with respect to the bi-directional algorithm.
Public property VerticalAlign Gets or sets the vertical alignment of the text.
Public property WritingMode Gets or sets a value that 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. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (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. Initializes an instance of the Style class for the designer. (Overrides ReportObject.InitializeForDesigner().)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Returns whether the report definition language semantic is the same with the core object. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is 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.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace