ITableColumnDefinition.FilterPresets Property

Definition

The strings that always exist as filterable items for this list.

public:
 property System::Collections::Generic::IEnumerable<System::String ^> ^ FilterPresets { System::Collections::Generic::IEnumerable<System::String ^> ^ get(); };
public System.Collections.Generic.IEnumerable<string> FilterPresets { get; }
member this.FilterPresets : seq<string>
Public ReadOnly Property FilterPresets As IEnumerable(Of String)

Property Value

Returns IEnumerable<T>.

Examples

public IEnumerable{string} FilterPresets => new string[]
{
    // Always show "Errors", "Warnings" and "Messages" as filtering options even if there are no errors
    "Errors",
    "Warnings",
    "Messages",
};

Remarks

For example, if you want to always show "Errors", "Warnings" and "Messages" as filtering options even if there are no errors then return new List.(3){"Errors", ....}.

Applies to