internal static new bool IsPropertySupportedByControlForFindItemInternal(int id)
 {
     if (ItemsControlAutomationPeer.IsPropertySupportedByControlForFindItemInternal(id))
     {
         return(true);
     }
     else
     {
         if (SelectionItemPatternIdentifiers.IsSelectedProperty.Id == id)
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
 }
Example #2
0
 /// <summary>
 /// Verifies whether the propertyId is supported by find criterion. It can be overriden by derived classes
 /// if they wish to support more properties.
 /// </summary>
 /// <param name="id">Property Id to be verified</param>
 /// <returns>true if property id is supported else false</returns>
 virtual internal bool IsPropertySupportedByControlForFindItem(int id)
 {
     return(ItemsControlAutomationPeer.IsPropertySupportedByControlForFindItemInternal(id));
 }
 // Token: 0x060027EB RID: 10219 RVA: 0x000BB196 File Offset: 0x000B9396
 internal new static bool IsPropertySupportedByControlForFindItemInternal(int id)
 {
     return(ItemsControlAutomationPeer.IsPropertySupportedByControlForFindItemInternal(id) || SelectionItemPatternIdentifiers.IsSelectedProperty.Id == id);
 }