예제 #1
0
        protected override void OnInitialized()
        {
            // **** required for your filter to work ****
            Root.AddFilterComponent(this);

            Context = new FilterContext <bool?>();
            Context.PropertyChanged += Context_PropertyChanged;
        }
예제 #2
0
    protected override void OnInitialized()
    {
        if (!typeof(FilterType).IsNumeric())
        {
            throw new Exception($"{nameof(FilterType)} must be a numeric type.");
        }

        // **** required for your filter to work ****
        Root.AddFilterComponent(this);

        Context = new FilterContext <FilterType>();
        Context.PropertyChanged += Context_PropertyChanged;
    }
예제 #3
0
 protected override void OnInitialized()
 {
     Root.AddFilterComponent(this);
 }