Поделиться через


Класс Style

Contains information about the style of a report item.

Иерархия наследования

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

Пространство имен:  Microsoft.ReportingServices.RdlObjectModel
Сборка:  Microsoft.ReportingServices.Designer.Controls (в Microsoft.ReportingServices.Designer.Controls.dll)

Синтаксис

'Декларация
Public Class Style _
    Inherits ReportObject
'Применение
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

Тип Style обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Style Creates a new instance of the Style class.

В начало

Свойства

  Имя Описание
Открытое свойство 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. (Производный от 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. (Производный от 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. (Производный от 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.

В начало

Методы

  Имя Описание
Открытый метод DeepClone Returns a deep clone of this ReportObject instance. (Производный от ReportObject.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetContainingDataScopes Инфраструктура. Returns the list of report object that contains data scopes. (Производный от ReportObject.)
Защищенный метод GetDataScopesForDefaultImpl Инфраструктура. Returns the data scopes for default implementation. (Производный от ReportObject.)
Защищенный метод GetDependenciesCore Инфраструктура. Returns the dependencies core for the ReportObject object. (Производный от ReportObject.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод Initialize Initializes an instance of the Style class. (Переопределяет ReportObject.Initialize().)
Защищенный метод InitializeForDesigner Инфраструктура. Initializes an instance of the Style class for the designer. (Переопределяет ReportObject.InitializeForDesigner().)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод OnChildPropertyChanged Инфраструктура. Raises an event when the property of the child was changed. (Производный от ReportObject.)
Защищенный метод OnPropertyChanged Инфраструктура. Raises an event when the property was changed. (Производный от ReportObject.)
Защищенный метод RdlSemanticEqualsCore Инфраструктура. Returns whether the report definition language semantic is the same with the core object. (Производный от ReportObject.)
Защищенный метод SavePropertyValue<T> Инфраструктура. Saves the property value of the report object. (Производный от ReportObject.)
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IDisposable.Dispose Инфраструктура. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Производный от ReportObject.)
Явная реализация интерфейсаЗакрытое событие IComponent.Disposed Инфраструктура. Occurs when the ReportObject object is disposed. (Производный от ReportObject.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.ReportingServices.RdlObjectModel