DXFrame Class

Represents a frame with extended functionality.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v18.2.dll

Declaration

public class DXFrame :
    Frame,
    IDXFrame,
    ISupportSplashScreen,
    IWindowTitleCustomizer,
    ISupportNavigationState
Public Class DXFrame
    Inherits Frame
    Implements IDXFrame,
               ISupportSplashScreen,
               IWindowTitleCustomizer,
               ISupportNavigationState

In addition to the common frame functionality, DXFrame provides the following features:

Customizable Title

The DXFrame allows you to customize the window title (DXFrame.WindowTitle). This functionality is managed by the DXFrame.AllowCustomizingWindowTitle property.

Splash Screen Support

The DXFrame class implements a special interface that allows you to show splash screens. To learn more about splash screens, refer to SplashScreenService.

Interaction with ViewModels

The DXFrame supports several interfaces that allow you implement interaction between pages and ViewModels.

  • ISupportNavigationEvents - provides methods that are called during navigation to a View.
  • ISupportGoBack - provides methods to control backward navigation.
  • ISupportBackButton - provides a method that is called when the Back button is pressed.
  • ISupportParameter - provides a member that allows data to be passed between ViewModels.

Suspend/Resume the Embedded Controls

The DXFrame automatically saves\loads the state of the controls implementing ISupportSaveLoadControlState interface on application suspending\resuming and provides a local data storage to save\load view models state.

Inheritance

Object
DXFrame

See Also