KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using dataTemplate . This is the template: <ItemsControl ItemsSource="{Binding RAM.Partitions}"> <ItemsControl.ItemTemplate> <DataTemplate> <Grid> <TextBlock Text="{Binding Position, StringFormat={}{0}k}"/> <Grid Grid.Column="1"> <Border> <Border.Height> <MultiBinding Converter="{StaticResource MultiplyConverter}"> <Binding ElementName="LayoutRoot" Path="ActualHeight"/> <Binding Path="Size" /> <Binding Path="RAM.Size" /> </MultiBinding> </Border.Height> </Border> </Grid> </Grid> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> Can you see this line? <Binding Path="RAM.Size" /> That line throws me an exception, it should be because RAM.Size is from a parent element. How might I get that value? Thanks in advance!
Tags (comma-separated)
Save Edits
Cancel