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