Atspi.Accessible.QueryAction C# (CSharp) Метод

QueryAction() публичный Метод

public QueryAction ( ) : Action
Результат Action
        public Action QueryAction()
        {
            if ((Interfaces & Interfaces.Action) != 0)
                return new Action (this);
            return null;
        }

Usage Example

Пример #1
0
		public ExpandCollapseSource (Element element)
		{
			accessible = (element is DataItemElement
				? ((Element)element.FirstChild).Accessible
			: element.Accessible);
			action = accessible.QueryAction ();

			ActionDescription [] actions = action.Actions;
			for (int i = 0; i < actions.Length; i++) {
				if (actions [i].Name == "expand or contract" ||
					actions [i].Name == "expand or collapse") {
					expandOrContractAction = i;
					break;
				}
			}
		}
All Usage Examples Of Atspi.Accessible::QueryAction