Back to Devexpress

XRControlStyleSheet Class

xtrareports-devexpress-dot-xtrareports-dot-ui-99ce9399.md

latest2.4 KB
Original Source

XRControlStyleSheet Class

Provides functionality for an object used as a repository for the XRControl‘s styles.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public class XRControlStyleSheet :
    CollectionBase,
    IXtraSupportDeserializeCollectionItem,
    IList<XRControlStyle>,
    ICollection<XRControlStyle>,
    IEnumerable<XRControlStyle>,
    IEnumerable
vb
Public Class XRControlStyleSheet
    Inherits CollectionBase
    Implements IXtraSupportDeserializeCollectionItem,
               IList(Of XRControlStyle),
               ICollection(Of XRControlStyle),
               IEnumerable(Of XRControlStyle),
               IEnumerable

The following members return XRControlStyleSheet objects:

Remarks

The XRControl‘s styles can be added to the XRControlStyleSheet instance or removed from it using the XRControlStyleSheet.Add and XRControlStyleSheet.Remove methods, respectively.

When a style is added to the XRControlStyleSheet it’s assigned the name specified and only after this can the style be assigned to the control via the XRControl.StyleName property.

Inheritance

Object CollectionBase XRControlStyleSheet

See Also

XRControlStyleSheet Members

StyleName

DevExpress.XtraReports.UI Namespace