<listview grid.row="5" grid.columnspan="6" itemssource="{Binding optionPositionCollection}" selecteditem="{Binding SelectedOptionPosition}" Grid.Column="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" removed="LightCyan"> <listview.itemcontainerstyle> <Style TargetType="{x:Type ListViewItem}"/> </listview.itemcontainerstyle> <listview.view> <gridview> <gridview.columns> <!--Call info--> <gridviewcolumn header=" Strike " width="auto" DisplayMemberBinding="{Binding Path=Strike}"/> <gridviewcolumn header=" Volatility " width="auto" DisplayMemberBinding="{Binding Path=SkewVolatility}"/> <gridviewcolumn header=" Calls " width="auto" DisplayMemberBinding="{Binding Path=CallPosition}"/> <gridviewcolumn header=" Call Settle " width="auto" DisplayMemberBinding="{Binding Path=CallSettle}"/> <gridviewcolumn header=" Call Theo " width="auto" DisplayMemberBinding="{Binding Path=CallTheo}"/> <gridviewcolumn header=" Excess " width="auto" DisplayMemberBinding="{Binding Path=CallExcess}"/> <!--Put info--> <gridviewcolumn header=" Strike " width="auto" DisplayMemberBinding="{Binding Path=Strike}"/> <gridviewcolumn header=" Puts " width="auto" DisplayMemberBinding="{Binding Path=PutPosition}"/> <gridviewcolumn header=" Put Settle " width="auto" DisplayMemberBinding="{Binding Path=PutSettle}"/> <gridviewcolumn header=" Put Theo " width="auto" DisplayMemberBinding="{Binding Path=PutTheo}"/> <gridviewcolumn header=" Excess " width="auto" DisplayMemberBinding="{Binding Path=PutExcess}"/> </gridview> </listview.view> </listview>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)