Class Page

    Definition

    Namespace:
    Tizen.NUI.Components
    Assembly:
    Tizen.NUI.Components.dll

    The Page class is a class which is an element of navigation.

    public abstract class Page : Control, IDynamicResourceHandler, INameScope, System.IDisposable, IResourcesProvider
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Control
    Page
    Derived
    ContentPage
    DialogPage
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Constructors

    View Source

    Page()

    Creates a new instance of a Page.

    Declaration
    public Page()
    View Source

    Page(string)

    Creates a new instance of Page with style.

    Declaration
    public Page(string style)
    Parameters
    Type Name Description
    string style

    Creates Page by special style defined in UX.

    View Source

    Page(ControlStyle)

    Creates a new instance of a Page with style.

    Declaration
    public Page(ControlStyle style)
    Parameters
    Type Name Description
    ControlStyle style

    A style applied to the newly created Page.

    Fields

    View Source

    AppearingTransitionProperty

    AppearingTransitionProperty

    Declaration
    public static readonly BindableProperty AppearingTransitionProperty
    Field Value
    Type Description
    BindableProperty
    View Source

    DisappearingTransitionProperty

    DisappearingTransitionProperty

    Declaration
    public static readonly BindableProperty DisappearingTransitionProperty
    Field Value
    Type Description
    BindableProperty
    View Source

    EnableBackNavigationProperty

    EnableBackNavigationProperty

    Declaration
    public static readonly BindableProperty EnableBackNavigationProperty
    Field Value
    Type Description
    BindableProperty
    View Source

    LastFocusedView

    Declaration
    protected View LastFocusedView
    Field Value
    Type Description
    View

    Properties

    View Source

    AppearingTransition

    Transition properties for the transition of Views in this page during this page is pushed to Navigator.

    Declaration
    public TransitionBase AppearingTransition { get; set; }
    Property Value
    Type Description
    TransitionBase
    View Source

    DisappearingTransition

    Transition properties for the transition of Views in this page during this page is popped from Navigator.

    Declaration
    public TransitionBase DisappearingTransition { get; set; }
    Property Value
    Type Description
    TransitionBase
    View Source

    EnableBackNavigation

    Gets or sets if this page proceeds back navigation when back button or back key is pressed and released. Back navigation pops the peek page if Navigator has more than one page. If Navigator has only one page, then the current program is exited.

    Declaration
    public bool EnableBackNavigation { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Navigator

    Navigator which has pushed the Page into its stack. If this Page has not been pushed into any Navigator, then Navigator is null.

    Declaration
    public Navigator Navigator { get; }
    Property Value
    Type Description
    Navigator

    Methods

    View Source

    OnBackNavigation(PageBackNavigationEventArgs)

    Called when the back navigation is started. Back navigation pops the peek page if Navigator has more than one page. If Navigator has only one page, then the current program is exited.

    Declaration
    protected virtual void OnBackNavigation(PageBackNavigationEventArgs eventArgs)
    Parameters
    Type Name Description
    PageBackNavigationEventArgs eventArgs

    The back navigation information.

    View Source

    RestoreKeyFocus()

    works only when DefaultAlgorithm is enabled. to set key focused View when showing.

    Declaration
    protected virtual void RestoreKeyFocus()
    View Source

    SaveKeyFocus()

    works only when DefaultAlgorithm is enabled. to save the currently focused View when disappeared.

    Declaration
    protected virtual void SaveKeyFocus()

    Events

    View Source

    Appeared

    Appeared event is invoked right after the page appears.

    Declaration
    public event EventHandler<PageAppearedEventArgs> Appeared
    Event Type
    Type Description
    EventHandler<><PageAppearedEventArgs>
    View Source

    Appearing

    Appearing event is invoked right before the page appears.

    Declaration
    public event EventHandler<PageAppearingEventArgs> Appearing
    Event Type
    Type Description
    EventHandler<><PageAppearingEventArgs>
    View Source

    Disappeared

    Disappeared event is invoked right after the page disappears.

    Declaration
    public event EventHandler<PageDisappearedEventArgs> Disappeared
    Event Type
    Type Description
    EventHandler<><PageDisappearedEventArgs>
    View Source

    Disappearing

    Disappearing event is invoked right before the page disappears.

    Declaration
    public event EventHandler<PageDisappearingEventArgs> Disappearing
    Event Type
    Type Description
    EventHandler<><PageDisappearingEventArgs>

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable
    IResourcesProvider

    Extension Methods

    ViewExtensions.BackgroundColor(View)
    ViewExtensions.BorderlineColor(View)
    ViewExtensions.BoxShadow(View)
    ViewExtensions.Color(View)
    ViewExtensions.CornerRadius(View)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    ViewExtensions.BackgroundColor<T>(T, float, float, float, float)
    ViewExtensions.BackgroundColor<T>(T, uint, float)
    ViewExtensions.BackgroundColor<T>(T, UIColor)
    ViewExtensions.BackgroundImage<T>(T, string)
    ViewExtensions.Borderline<T>(T, float, UIColor, float)
    ViewExtensions.BorderlineColor<T>(T, float, float, float, float)
    ViewExtensions.BorderlineColor<T>(T, uint, float)
    ViewExtensions.BorderlineColor<T>(T, UIColor)
    ViewExtensions.BorderlineOffset<T>(T, float)
    ViewExtensions.BorderlineWidth<T>(T, float)
    ViewExtensions.BoxShadow<T>(T, float, float, float)
    ViewExtensions.BoxShadow<T>(T, float, UIColor, float, float)
    ViewExtensions.BoxShadow<T>(T, UIShadow)
    ViewExtensions.ClippingMode<T>(T, ClippingModeType)
    ViewExtensions.Color<T>(T, float, float, float, float)
    ViewExtensions.Color<T>(T, uint, float)
    ViewExtensions.Color<T>(T, UIColor)
    ViewExtensions.CornerRadius<T>(T, float, bool)
    ViewExtensions.CornerRadius<T>(T, float, float, float, float, bool)
    ViewExtensions.CornerRadius<T>(T, UICorner)
    ViewExtensions.Focusable<T>(T, bool)
    ViewExtensions.FocusableChildren<T>(T, bool)
    ViewExtensions.FocusableInTouch<T>(T, bool)
    ViewExtensions.ImageShadow<T>(T, ImageShadow)
    ViewExtensions.IsEnabled<T>(T, bool)
    ViewExtensions.Layout<T>(T, LayoutItem)
    ViewExtensions.Opacity<T>(T, float)
    ViewExtensions.Position<T>(T, float, float)
    ViewExtensions.PositionX<T>(T, float)
    ViewExtensions.PositionY<T>(T, float)
    ViewExtensions.Scale<T>(T, float, float)
    ViewExtensions.ScaleX<T>(T, float)
    ViewExtensions.ScaleY<T>(T, float)
    ViewExtensions.Sensitive<T>(T, bool)
    ViewExtensions.Size<T>(T, float, float)
    ViewExtensions.SizeHeight<T>(T, float)
    ViewExtensions.SizeWidth<T>(T, float)
    ViewExtensions.Visibility<T>(T, bool)
    ViewExtensions.VoiceInteractionName<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX