Back to Devexpress

RibbonControl.LoadPagesInBackground Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-5db63fb6.md

latest2.0 KB
Original Source

RibbonControl.LoadPagesInBackground Property

Gets or sets whether RibbonPages within the current RibbonControl should load their content in background.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public bool LoadPagesInBackground { get; set; }
vb
Public Property LoadPagesInBackground As Boolean

Property Value

TypeDescription
Boolean

true, if RibbonPages within the current RibbonControl should load their content in background; otherwise, false. The default is true.

|

Remarks

If the LoadPagesInBackground property equals true , Pages will only load their content on demand (when selected) or in background, after a certain interval. This means that shortly after one Page is completely loaded, other Pages are loaded in background, so when any of these is selected, it will require significantly less time to be displayed.

If the LoadPagesInBackground property is set to false , all RibbonPages load their content at once. This can significantly slow down the RibbonControl performance if Pages contain large and complex content with a large number of individual items.

See Also

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace