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

FavoritePropertyExtension.GetFavoriteProperties(Object) Method

Returns favorite properties for the specified component.

Namespace: DevExpress.XtraReports.Extensions

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public virtual string[] GetFavoriteProperties(
    object component
)

#Parameters

Name Type Description
component Object

An object that specified a component whose favorite properties should be obtained.

#Returns

Type Description
String[]

An array of strings that specify favorite property names.

#Remarks

By default, this method returns properties that are marked with the Favorite attribute. When implementing a custom storage, you can override this method to write your own logic for getting the favorite list.

See Also