DEV GridControl添加hyperlink

                    <dxg:GridColumn Header="使用率" FieldName="UsageRates" >
                        <dxg:GridColumn.CellTemplate>
                            <DataTemplate>
                                <TextBlock TextAlignment="Center">
                                <Hyperlink Name="UsageRatesHyperlink" Click="UsageRatesHyperlink_Click">
                                    <TextBlock Text="{Binding Path=RowData.Row.UsageRates}" />
                                </Hyperlink>
                            </TextBlock>
                            </DataTemplate>
                        </dxg:GridColumn.CellTemplate>
                    </dxg:GridColumn>

 

posted @ 2014-10-30 14:43  cg.2019  阅读(460)  评论(0编辑  收藏  举报