Class ContentPage

    Definition

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

    The ContentPage class is a class which is a formatted full screen page. ContentPage contains title app bar and content.

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

    Constructors

    View Source

    ContentPage()

    Creates a new instance of a ContentPage.

    Declaration
    public ContentPage()
    View Source

    ContentPage(string)

    Creates a new instance of ContentPage with style.

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

    Creates ContentPage by special style defined in UX.

    View Source

    ContentPage(ControlStyle)

    Creates a new instance of a ContentPage with style.

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

    A style applied to the newly created ContentPage.

    Fields

    View Source

    AppBarProperty

    AppBarProperty

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

    ContentProperty

    ContentProperty

    Declaration
    public static readonly BindableProperty ContentProperty
    Field Value
    Type Description
    BindableProperty

    Properties

    View Source

    AppBar

    AppBar of ContentPage. AppBar is added as a child of ContentPage automatically. AppBar is positioned at the top of the Page.

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

    Content

    Content of ContentPage. Content is added as a child of ContentPage automatically. Content is positioned below AppBar. Content is resized to fill the full screen except AppBar.

    Declaration
    public View Content { get; set; }
    Property Value
    Type Description
    View

    Methods

    View Source

    AccessibilityGetName()

    Declaration
    protected override string AccessibilityGetName()
    Returns
    Type Description
    string
    Overrides
    View.AccessibilityGetName()
    View Source

    Dispose(DisposeTypes)

    Dispose ContentPage and all children on it.

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type

    Dispose type.

    Overrides
    Control.Dispose(DisposeTypes)
    View Source

    OnInitialize()

    Overrides the parent method. This method is called by the framework when the instance is created.

    Declaration
    public override void OnInitialize()
    Overrides
    Control.OnInitialize()
    View Source

    RestoreKeyFocus()

    for the case of ContentPage, it sets key focus on AppBar's NavigationContent

    Declaration
    protected override void RestoreKeyFocus()
    Overrides
    Page.RestoreKeyFocus()

    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