[]
        
(Showing Draft Content)

C1.Win.C1Themes.C1ThemePicker.Filter

Filter Property

Filter

Gets or sets the regular expression to determine theme names which should be displayed in drop-down list.

Declaration
[C1Category("Behavior")]
[C1Description("C1ThemePicker.Filter", "The regular expression to determine theme names displayed in drop-down list.")]
public string Filter { get; set; }
Remarks

The regular expression specified by the filter allows you to leave only the necessary themes in the drop-down list and in ThemeNames array.

Examples

The code below in the drop-down list will leave only the names of themes containing "one" and "silver": 'BeigeOne', 'MacSilver', 'Office2007Silver', 'Office2010Silver'. Also, the string array ThemeNames will contain the same elements.

var c1ThemePicker1 = new C1ThemePicker();
c1ThemePicker1.Filter = "(one|silver)";