Frame.Context Property
Returns a Frame’s context.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public TemplateContext Context { get; }
#Property Value
Type | Description |
---|---|
Template |
A Template |
#Remarks
A Frame is displayed via a Frame Template in a UI. All Templates are related to particular contexts. So, when a Frame is created, a context must be determined to apply a proper Template. All the contexts are defined by the TemplateContext instances. The following table lists all the context names:
Context | Templates |
---|---|
Light Light Outlook Main Main | |
Detail Detail | |
Popup | |
Lookup | |
Lookup | |
Nested |
Note
Basically, contexts are only used in Windows Forms applications, to assign a Template to a Frame. In ASP.