/*
* 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using Tizen.NUI;
namespace Tizen.NUI.BaseComponents
{
///
/// View is the base class for all views.
///
/// 3
public partial class View
{
///
/// Gets or sets accessibility name.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public string AccessibilityName
{
get
{
return (string)GetValue(AccessibilityNameProperty);
}
set
{
SetValue(AccessibilityNameProperty, value);
NotifyPropertyChanged();
}
}
///
/// Gets or sets accessibility description.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public string AccessibilityDescription
{
get
{
return (string)GetValue(AccessibilityDescriptionProperty);
}
set
{
SetValue(AccessibilityDescriptionProperty, value);
NotifyPropertyChanged();
}
}
///
/// Gets or sets accessibility translation domain.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public string AccessibilityTranslationDomain
{
get
{
return (string)GetValue(AccessibilityTranslationDomainProperty);
}
set
{
SetValue(AccessibilityTranslationDomainProperty, value);
NotifyPropertyChanged();
}
}
///
/// Gets or sets accessibility role.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public Role AccessibilityRole
{
get
{
return (Role)GetValue(AccessibilityRoleProperty);
}
set
{
SetValue(AccessibilityRoleProperty, value);
NotifyPropertyChanged();
}
}
///
/// Gets or sets whether the view is highlightable for accessibility or not.
///
///
/// For views, which intend to receive accessibility highlight focus, this value should be set as true.
/// Otherwise it is set to false by default and the object is omitted in AT-SPI2 navigation.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public bool AccessibilityHighlightable
{
get
{
return (bool)GetValue(AccessibilityHighlightableProperty);
}
set
{
SetValue(AccessibilityHighlightableProperty, value);
NotifyPropertyChanged();
}
}
///
/// Controls whether the view is hidden from the AT-SPI tree.
///
///
/// False by default. Hiding an object means that any AT-SPI clients are not able to see it.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public bool AccessibilityHidden
{
get
{
return (bool)GetValue(AccessibilityHiddenProperty);
}
set
{
SetValue(AccessibilityHiddenProperty, value);
NotifyPropertyChanged();
}
}
///
/// Gets or sets a value that allows the automation framework to find and interact with this element.
///
[EditorBrowsable(EditorBrowsableState.Never)]
public new string AutomationId
{
get
{
return GetValue(AutomationIdProperty) as string;
}
set
{
SetValue(AutomationIdProperty, value);
NotifyPropertyChanged();
}
}
}
}