Skip to content
François edited this page Sep 7, 2022 · 2 revisions

Description

It is represented by the XAML part of the wpf code of your project.
Parameters passed in the View Model are binding as can be seen from a short code snippet below:

    <Dock Panel LastChildFill="True">
        <Button Width="75" Dock Panel.Dock="Bottom" Content="Close" Command="{Binding ShowText}" Margin="5" />
        <TextBox Text="{Binding ContentText}" Margin="5" />
    </DockPanel>

{Binding ShowText} for the command attribute of Button and
{Binding ContentText} for the Text attribute of TextBox are present in the properties of the ViewModel attached to the view.

See page ViewModel.

Clone this wiki locally