/*
- * Copyright(c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright(c) 2021 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/// The AppBar class is a class which shows title text and provides navigation
/// and action functions on Page.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public class AppBar : Control
{
private bool autoNavigationContent = true;
/// <summary>
/// Creates a new instance of AppBar.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public AppBar() : base()
{
Initialize();
/// Creates a new instance of AppBar.
/// </summary>
/// <param name="style">Creates AppBar by special style defined in UX.</param>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public AppBar(string style) : base(style)
{
Initialize();
/// Creates a new instance of AppBar.
/// </summary>
/// <param name="appBarStyle">Creates AppBar by style customized by user.</param>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public AppBar(AppBarStyle appBarStyle) : base(appBarStyle)
{
Initialize();
}
/// <summary>
- /// Navigation content of AppBar. NavigationContent is added to Children automatically.
+ /// Navigation content of AppBar.
+ /// NavigationContent is added as a child of AppBar automatically.
/// If AutoNavigationContent is set to be true and NavigationContent is not set,
/// then default navigation content is automatically displayed.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public View NavigationContent
{
get
/// <summary>
/// Title text of AppBar.
- /// SetTitle sets title text to the default title content.
+ /// Title sets title text to the default title content.
/// If TitleContent is not TextLabel, then Title does not set title text of the TitleContent.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public string Title
{
get
}
/// <summary>
- /// Title content of AppBar. TitleContent is added to Children automatically.
+ /// Title content of AppBar.
+ /// TitleContent is added as a child of AppBar automatically.
/// If TitleContent is not TextLabel, then Title does not set title text of the TitleContent.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public View TitleContent
{
get
/// <summary>
/// Action views of AppBar.
/// Action views are added to ActionContent of AppBar.
- /// The Action and ActionButton styles of AppBarStyle are applied to actions only by setting Actions.
- /// If you do not want to apply Action and ActionButton styles to action views, then please use ActionContent.Add() instead.
+ /// If action views and action buttons are set to Actions, then proper style look for action views and action buttons are automatically applied to action views and action buttons.
+ /// e.g. size, button icon color, etc.
+ /// If you do not want to apply framework's style look for action views and action buttons, then please use ActionContent.Add(actionView) instead of setting Actions.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public IEnumerable<View> Actions
{
get
}
/// <summary>
- /// Action content of AppBar. ActionContent is added to Children automatically.
+ /// Action content of AppBar.
+ /// ActionContent is added as a child of AppBar automatically.
/// Action content contains action views and action buttons by Actions.
/// The Action and ActionButton styles of AppBarStyle are applied to actions only by setting Actions.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public View ActionContent
{
get
/// then default navigation content is automatically displayed.
/// If default navigation content is clicked, it calls navigator pop operation.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public bool AutoNavigationContent
{
get
/// Applies style to AppBar.
/// </summary>
/// <param name="viewStyle">The style to apply.</param>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public override void ApplyStyle(ViewStyle viewStyle)
{
styleApplied = false;
}
}
}
-}
\ No newline at end of file
+}
/// <summary>
/// AppBarStyle is a class which saves AppBar's ux data.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public class AppBarStyle : ControlStyle
{
[EditorBrowsable(EditorBrowsableState.Never)]
static AppBarStyle() { }
/// <summary>
- /// Creates a new instance of a AppBarStyle.
+ /// Creates a new instance of an AppBarStyle.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public AppBarStyle() : base()
{
}
/// <summary>
- /// Creates a new instance of a AppBarStyle with style.
+ /// Creates a new instance of an AppBarStyle with style.
+ /// The given style is copied to the new instance.
/// </summary>
/// <param name="style">Creates AppBarStyle by style customized by user.</param>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public AppBarStyle(AppBarStyle style) : base(style)
{
}
/// <summary>
/// Gets or sets the AppBar Back Button style.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public ButtonStyle BackButton { get; set; } = new ButtonStyle();
/// <summary>
/// Gets or sets the AppBar Title TextLabel style.
/// This style is applied if AppBar Title is a TextLabel.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public TextLabelStyle TitleTextLabel { get; set; } = new TextLabelStyle();
/// <summary>
/// Gets or sets the AppBar Action View style.
/// This style is applied if AppBar ActionContent's child is a View.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public ViewStyle ActionView { get; set; } = new ViewStyle();
/// <summary>
/// Gets or sets the AppBar Action Button style.
/// This style is applied if AppBar ActionContent's child is a Button.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public ButtonStyle ActionButton { get; set; } = new ButtonStyle();
/// <summary>
/// Style's clone function.
/// </summary>
/// <param name="bindableObject">The style that needs to copy.</param>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public override void CopyFrom(BindableObject bindableObject)
{
base.CopyFrom(bindableObject);