첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
<Grid
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <Grid.RowDefinitions>
        <RowDefinition />
        <RowDefinition />
    </Grid.RowDefinitions>
    <dxe:SearchControl
        x:Name="searchControl"
        Grid.Row="0"
        Width="150"
        Height="25"
        FilterCondition="Contains"
        FilterByColumnsMode="Custom">
        <dxe:SearchControl.ColumnProvider>
            <dxe:SelectorEditColumnProvider>
                <dxe:SelectorEditColumnProvider.CustomColumns>
                    <sys:String>Name</sys:String>
                </dxe:SelectorEditColumnProvider.CustomColumns>
            </dxe:SelectorEditColumnProvider>
        </dxe:SearchControl.ColumnProvider>
    </dxe:SearchControl>
    <dxe:ListBoxEdit x:Name="listBoxEdit"
        Grid.Row="1"
        Margin="10"
        HorizontalAlignment="Stretch"
        VerticalAlignment="Stretch"
        ValueMember="ID"
        DisplayMember="Name"
        FilterCriteria="{Binding FilterCriteria, ElementName=searchControl}">
    </dxe:ListBoxEdit>
</Grid>
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요