Last active
December 25, 2015 15:59
-
-
Save sujinlee/7002962 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HTabControl Grid.Row="1" ItemsSource="{Binding Path=OutNursingPartStatementFolderList}" SelectedItem="{Binding Path=SelectedNursingPartFolder}" | |
SelectedValuePath="NRST_FLDR_CTG_CD" DisplayMemberPath="FLDR_NM" ItemContainerStyle="{StaticResource treeItemStyle}"> | |
<i:Interaction.Triggers> | |
<i:EventTrigger EventName="SelectionChanged"> | |
<i:InvokeCommandAction Command="{Binding Path=SelectionFolderChangedCommand}" /> | |
</i:EventTrigger> | |
</i:Interaction.Triggers> | |
</HTabControl> | |
-----------------------------------------------cs | |
public ICommand SelectionFolderChangedCommand | |
{ | |
get | |
{ | |
if (selectionFolderChangedCommand == null) | |
selectionFolderChangedCommand = new RelayCommand(p => this.selectionFolder()); | |
return selectionFolderChangedCommand; | |
} | |
} | |
private void selectionFolder() | |
{ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<HTextBox x:Name="txtSearch" Margin="5,0,0,0" Text="{Binding Path=InputWord, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Center" PreviewKeyDown="txtSearch_PreviewKeyDown"> | |
<HTextBox.InputBindings> | |
<KeyBinding Key="Enter" Command="{Binding Path=SearchNursingStatementCommand}" CommandParameter="{Binding ElementName=dgrdSearch}" /> | |
</HTextBox.InputBindings> | |
</HTextBox> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment