In Depth Banner
Skip Navigation Links

Select your preferred language

Filtering a list of properties.

    protected override void PreFilterProperties(IDictionary properties)

    {

      string[] filterProps = new string[]{

                           "AllowDrop",

                           "CanFocus",

                           "CanSelect",

                           "Capture",

                           "CausesValidation",

                           "Container",

                           "ContainsFocus",

                           "RightToLeft",

                           "Tag",

                           "Text",

                           "Top",

                           "TopLevelControl",

      };

      foreach(string s in filterProps)

        properties.Remove(s);

    }

 Return to the article

Copyright © Bob Powell 2003-2009. All rights reserved