QueryAction() 공개 메소드

public QueryAction ( ) : Action
리턴 Action
예제 #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;
				}
			}
		}
예제 #2
0
		public ToggleSource (Element element)
		{
			accessible = element.Accessible;
			action = accessible.QueryAction ();
		}