Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

binding command to event wpf

<ListBox ...>
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="SelectionChanged">
            <i:InvokeCommandAction Command="{Binding SelectedItemChangedCommand}"/>
        </i:EventTrigger>
    </i:Interaction.Triggers>
</ListBox>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #binding #command #event #wpf
ADD COMMENT
Topic
Name
8+5 =