public IDomElement <DependencyObject> GetDomElement(DependencyObject obj, SelectorType selectorType)
 {
     if (selectorType == SelectorType.LogicalTree)
     {
         return(Css.GetDomElement(obj));
     }
     else
     {
         return(Css.GetVisualDomElement(obj));
     }
 }
示例#2
0
 public IDomElement <DependencyObject> GetDomElement(DependencyObject obj)
 {
     return(Css.GetDomElement(obj));
 }