첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
<Page
    x:Class="HowToShowHyperlinksInGridCells.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid">
    <dxg:GridControl Name="_pGridControl">
        <dxg:GridControl.Columns>
            <dxg:GridColumn
                FieldName="Category"
                Width="200" />
            <dxg:GridColumn
                FieldName="Name"
                Width="200">
                <dxg:GridColumn.CellTemplate>
                    <DataTemplate>
                        <TextBlock>
                            <Hyperlink NavigateUri="{Binding Data.Hyperlink}">
                                <TextBlock Text="{Binding Data.Name}" />
                            </Hyperlink>
                        </TextBlock>
                    </DataTemplate>
                </dxg:GridColumn.CellTemplate>
            </dxg:GridColumn>
        </dxg:GridControl.Columns>
    </dxg:GridControl>
</Page>
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요