Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRControlStyleSheet Class

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public class XRControlStyleSheet :
    CollectionBase,
    IXtraSupportDeserializeCollectionItem,
    IList<XRControlStyle>,
    ICollection<XRControlStyle>,
    IEnumerable<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