Style Class

Definition

Contains information about the style of a report item.

public ref class Style : Microsoft::ReportingServices::RdlObjectModel::ReportObject
[System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.Style/StyleConverter))]
public class Style : Microsoft.ReportingServices.RdlObjectModel.ReportObject
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.Style/StyleConverter))>]
type Style = class
    inherit ReportObject
Public Class Style
Inherits ReportObject
Inheritance
Derived
Attributes

Constructors

Style()

Creates a new instance of the Style class.

Properties

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.

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

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.

Methods

DeepClone()

Returns a deep clone of this ReportObject instance.

(Inherited from ReportObject)
GetContainingDataScopes()

Returns the list of report object that contains data scopes.

(Inherited from ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

Returns the data scopes for default implementation.

(Inherited from ReportObject)
GetDependenciesCore(IList<ReportObject>)

Returns the dependencies core for the ReportObject object.

(Inherited from ReportObject)
Initialize()

Initializes an instance of the Style class.

InitializeForDesigner()

Initializes an instance of the Style class for the designer.

OnChildPropertyChanged(Int32, Object, Object)

Raises an event when the property of the child was changed.

(Inherited from ReportObject)
OnPropertyChanged(Int32, Object, Object)

Raises an event when the property was changed.

(Inherited from ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

Returns whether the report definition language semantic is the same with the core object.

(Inherited from ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

Saves the property value of the report object.

(Inherited from ReportObject)

Explicit Interface Implementations

IComponent.Disposed

Occurs when the ReportObject object is disposed.

(Inherited from ReportObject)
IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ReportObject)

Applies to