Style Class

 

Updated: February 25, 2016

Represents a collection of named style properties for a report item. This collection can be accessed by name or index. This class cannot be inherited.

Namespace:   Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

System::Object
  Microsoft.ReportingServices.ReportRendering::StyleBase
    Microsoft.ReportingServices.ReportRendering::Style

[DefaultMemberAttribute("Item")]
public ref class Style sealed : StyleBase

NameDescription
System_CAPS_pubmethodStyle()

Initializes a new instance of the Style class.

NameDescription
System_CAPS_pubpropertyCount

Number of style properties in the collection.(Overrides StyleBase::Count.)

System_CAPS_pubpropertyItem[Int32]

Returns a style at the specified index.(Inherited from StyleBase.)

System_CAPS_pubpropertyItem[String^]

Gets the value of the specified style that matches the name given in the styleName parameter. In C#, this property is the indexer for the Style class.(Overrides StyleBase::Item[String^].)

System_CAPS_pubpropertyKeys

Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.(Overrides StyleBase::Keys.)

System_CAPS_pubpropertyNonSharedProperties

Gets a StyleProperties collection that contains the properties that may be different for each instance of the report item due to expressions.(Overrides StyleBase::NonSharedProperties.)

System_CAPS_pubpropertySharedProperties

Gets a StyleProperties collection that contains the properties shared by all report item instances that are derived from the same report item in the definition.(Overrides StyleBase::SharedProperties.)

NameDescription
System_CAPS_pubmethodContainStyleProperty(String^)

Indicates whether this collection contains a named style property.(Inherited from StyleBase.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Gets an IEnumerator interface that allows you to iterate through the collection.(Inherited from StyleBase.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetStyle(Style::StyleName, Object^, Boolean)

Sets a specified style property within a style collection to the given value.(Inherited from StyleBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: