expressappframework-devexpress-dot-expressapp-dot-frame.md
Provides access to a Frame‘s View.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public View View { get; }
Public ReadOnly Property View As View
| Type | Description |
|---|---|
| View |
A View object representing the current Frame’s View.
|
Cast the View object that is returned by this property by the DetailView or ListView type, to use members of the current Frame’s View.
The following code snippets (auto-collected from DevExpress Examples) contain references to the View property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
private VariantsInfo GetVariantsInfo() {
return Application.Modules.FindModule<ViewVariantsModule>().FrameVariantsEngine.GetVariants(Frame.View);
}
WinWindow window = FindWindowByView(view);
return window == null ? null : window.View;
}
Boolean result = false;
View savedView = Frame.View;
isLayoutProcessed = true;
public override IObjectSpace GetObjectSpaceToShowDetailViewFrom(Frame sourceFrame, Type objectType, TargetWindow targetWindow) {
if(sourceFrame.View is ListView &&
sourceFrame.View.ObjectTypeInfo.Type == typeof(NonPersistentObjectsDemo.Module.BusinessObjects.Agent) &&
See Also