}
}
+ /// <summary>
+ /// Gets or sets a flag indicates whether the number of pinned applications is over 10 or not
+ /// </summary>
public bool IsSelectedExceeds
{
get
}
}
+ /// <summary>
+ /// Gets or sets a flag indicates whether the option button is needed to focus or not
+ /// </summary>
public bool SetFocusOptionButton
{
get;
/// </summary>
public Command DeletePopupCommand { get; set; }
+ /// <summary>
+ /// A command will be executed if the Sort DropdownList item is selected
+ /// </summary>
public Command<int> SortOptionIndexCommand { get; set; }
/// <summary>
/// </summary>
public event PropertyChangedEventHandler PropertyChanged;
+ /// <summary>
+ /// A flag indicates whether pin app is requested or not
+ /// </summary>
private bool isPinAppRequested = false;
/// <summary>
- /// A flag indicates whether pin app is requested or not
/// If TV Home requests pin app to TV Apps, IsPinAppRequested will be true
/// </summary>
public bool IsPinAppRequested
using LibTVRefCommonPortable.Utils;
using System.Windows.Input;
using System;
-using TVApps.Controls;
using System.Collections.Generic;
namespace TVApps.Views
/// </summary>
public partial class FooterNormalStatus : RelativeLayout
{
+ /// <summary>
+ /// A flag indicates whether the popup is showing or not
+ /// </summary>
private bool isPopupShowing = false;
+ /// <summary>
+ /// The drop down list of sort options
+ /// </summary>
private DropdownList SortButton;
+
+ /// <summary>
+ /// The Option button object
+ /// </summary>
private Button OptionButton;
/// <summary>
- /// A command will be executed if the Pin option is selected
+ /// Identifies the PinAppCommand bindable property
/// </summary>
public static readonly BindableProperty PinAppCommandProperty = BindableProperty.Create("PinAppCommand", typeof(Command), typeof(FooterNormalStatus), null);
+ /// <summary>
+ /// A command will be executed if the Pin option is selected
+ /// </summary>
public ICommand PinAppCommand
{
get { return (ICommand)GetValue(PinAppCommandProperty); }
}
/// <summary>
- /// A command will be executed if the Delete option is selected
+ /// Identifies the DeleteAppCommand bindable property
/// </summary>
public static readonly BindableProperty DeleteAppCommandProperty = BindableProperty.Create("DeleteAppCommand", typeof(Command), typeof(FooterNormalStatus), null);
+ /// <summary>
+ /// A command will be executed if the Delete option is selected
+ /// </summary>
public ICommand DeleteAppCommand
{
get { return (ICommand)GetValue(DeleteAppCommandProperty); }
}
/// <summary>
- /// A command will be executed if the Sort DropdownList item is selected
+ /// Identifies the SortOptionIndexCommand bindable property
/// </summary>
public static readonly BindableProperty SortOptionIndexCommandProperty = BindableProperty.Create("SortOptionIndexCommand", typeof(Command), typeof(FooterNormalStatus), null);
+ /// <summary>
+ /// A command will be executed if the Sort DropdownList item is selected
+ /// </summary>
public ICommand SortOptionIndexCommand
{
get { return (ICommand)GetValue(SortOptionIndexCommandProperty); }
set { SetValue(SortOptionIndexCommandProperty, value); }
}
+ /// <summary>
+ /// Identifies the SetFocusOptionButton bindable property
+ /// </summary>
public static readonly BindableProperty SetFocusOptionButtonProperty = BindableProperty.Create("SetFocusOptionButton", typeof(bool), typeof(FooterNormalStatus), false, BindingMode.TwoWay);
+ /// <summary>
+ /// Gets or sets a flag indicates whether the option button is needed to focus or not
+ /// </summary>
public bool SetFocusOptionButton
{
get { return (bool)GetValue(SetFocusOptionButtonProperty); }
ChangeBackKeyInfoCommand?.Execute(isPopupShowing);
}
-
+ /// <summary>
+ /// This method is called when the properties of FooterNormalStatus is changed
+ /// </summary>
+ /// <param name="sender">The source of the event</param>
+ /// <param name="e">The event that is occurred when Property is changed</param>
private void FooterNormalStatusPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
if (e.PropertyName.Equals("SetFocusOptionButton"))
using System.Collections.Generic;
using System.Linq;
using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
-using TVApps.Controls;
using Tizen.Xamarin.Forms.Extension;
namespace TVApps.Views
set { SetValue(DeletePopupCommandProperty, value); }
}
+ /// <summary>
+ /// Identifies the IsSelectedExceeds bindable property
+ /// </summary>
public static readonly BindableProperty IsSelectedExceedsProperty = BindableProperty.Create("IsSelectedExceeds", typeof(bool), typeof(FooterPinStatus), false, BindingMode.TwoWay);
-
+ /// <summary>
+ /// Gets or sets a flag indicates whether the number of pinned applications is over 10 or not
+ /// </summary>
public bool IsSelectedExceeds
{
get { return (bool)GetValue(IsSelectedExceedsProperty); }