Binding Using Property Element Syntax

Although it's rare to want to do so, you can actually specify bindings using property element syntax. The following example demonstrates binding to a property named Name using property element syntax:

<TextBox>
    <TextBox.Text>
        <Binding Path="Name" />
    </TextBox.Text>
</TextBox>

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.154.18