Back to Devexpress

FavoritePropertyExtension.TryLoadProperties(out DescriptionSet) Method

xtrareports-devexpress-dot-xtrareports-dot-extensions-dot-favoritepropertyextension-dot-tryloadproperties-x28-devexpress-dot-xtrareports-dot-favoriteproperties-dot-descriptionset-x29.md

latest2.9 KB
Original Source

FavoritePropertyExtension.TryLoadProperties(out DescriptionSet) Method

Loads favorite properties from the storage.

Namespace : DevExpress.XtraReports.Extensions

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public abstract bool TryLoadProperties(
    out DescriptionSet descriptions
)
vb
Public MustOverride Function TryLoadProperties(
    ByRef descriptions As DescriptionSet
) As Boolean

Parameters

NameTypeDescription
descriptionsDescriptionSet

An object that specifies the favorite list.

|

Returns

TypeDescription
Boolean

true , if favorite properties has been successfully restored; otherwise, false.

|

Remarks

The End-User Report Designer’s Properties panel provides the Favorite view that allows end-users to display only their favorite or most frequently used properties. By default, these properties are stored in the %localappdata%\Developer Express Inc\XtraReports Suite\ComponentProperties.xml file.

You can implement your custom storage using the FavoritePropertyExtension class. Use the TryLoadProperties method to obtain the favorite list from the storage.

See the following topics for more information:

See Also

FavoritePropertyExtension Class

FavoritePropertyExtension Members

DevExpress.XtraReports.Extensions Namespace