mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
68 lines
2.1 KiB
C#
68 lines
2.1 KiB
C#
// Copyright © 2020 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
namespace CefSharp.DevTools.Accessibility
|
|
{
|
|
/// <summary>
|
|
/// A single computed AX property.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataContractAttribute]
|
|
public class AXValue : CefSharp.DevTools.DevToolsDomainEntityBase
|
|
{
|
|
/// <summary>
|
|
/// The type of this value.
|
|
/// </summary>
|
|
public CefSharp.DevTools.Accessibility.AXValueType Type
|
|
{
|
|
get
|
|
{
|
|
return (CefSharp.DevTools.Accessibility.AXValueType)(StringToEnum(typeof(CefSharp.DevTools.Accessibility.AXValueType), type));
|
|
}
|
|
|
|
set
|
|
{
|
|
type = (EnumToString(value));
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// The type of this value.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))]
|
|
internal string type
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The computed value of this property.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("value"), IsRequired = (false))]
|
|
public object Value
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// One or more related nodes, if applicable.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("relatedNodes"), IsRequired = (false))]
|
|
public System.Collections.Generic.IList<CefSharp.DevTools.Accessibility.AXRelatedNode> RelatedNodes
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The sources which contributed to the computation of this property.
|
|
/// </summary>
|
|
[System.Runtime.Serialization.DataMemberAttribute(Name = ("sources"), IsRequired = (false))]
|
|
public System.Collections.Generic.IList<CefSharp.DevTools.Accessibility.AXValueSource> Sources
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |