Skip to main content

DXFrame Class

Represents a frame with extended functionality.

Namespace: DevExpress.UI.Xaml.Layout

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

NuGet Package: DevExpress.Uwp.Controls

#Declaration

[TemplatePart(Name = "PART_TitleText", Type = typeof(ContentControl))]
[TemplatePart(Name = "PART_TitlePanel", Type = typeof(StackPanel))]
[TemplatePart(Name = "PART_WindowBackButton", Type = typeof(WindowTitleBackButton))]
[TemplatePart(Name = "PART_SplashScreen", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "PART_TitleBar", Type = typeof(Border))]
public class DXFrame :
    Frame,
    IDXFrame,
    ISupportSplashScreen,
    IWindowTitleCustomizer,
    ISupportNavigationState

#Remarks

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
DependencyObject
Windows.UI.Xaml.UIElement
FrameworkElement
Control
Windows.UI.Xaml.Controls.ContentControl
Windows.UI.Xaml.Controls.Frame
See Also