Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
How to write a trigger inside the style for FilterCellValuePresenter
posted

I write the style like this:

<Style TargetType="{x:Type igDP:FilterCellValuePresenter}">
                <i:Interaction.Triggers>
                    <i:EventTrigger></i:EventTrigger>
                </i:Interaction.Triggers>
                <EventSetter Event="KeyUp" Handler="OnFilterCellValuePresenterKeyUp"/>
                <EventSetter Event="Loaded" Handler="OnFilterCellValuePresenterLoaded"/>
            </Style>

however, there is warning says that the trigger could only applied to the object which derived from dependencyobject.

FilterCellValuePresenter is really derive from dependencyobject.

Why this happened?

Parents
No Data
Reply Children
No Data