The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRControlStyleSheet Class

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

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

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

Implements

DevExpress.XtraReports.Serialization.IXRSerializable
DevExpress.Utils.Serializing.Helpers.IXtraSupportDeserializeCollectionItem
See Also