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 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间