バージョン

DataPresenter プロパティ (FieldChooser)

フィールドが FieldChooser でカスタマイズされているデータ プレゼンターを指定します。
シンタックス
'宣言
 
Public Property DataPresenter As DataPresenterBase
public DataPresenterBase DataPresenter {get; set;}
使用例
Imports Infragistics.Windows
Imports Infragistics.Windows.Controls
Imports Infragistics.Windows.Editors
Imports Infragistics.Windows.DataPresenter
Imports Infragistics.Windows.DataPresenter.Events

    Private Sub Window1_Loaded(ByVal sender As Object, ByVal e As RoutedEventArgs)
        _fieldChooser.DataPresenter = _dataPresenter
    End Sub
using Infragistics.Windows;
using Infragistics.Windows.Controls;
using Infragistics.Windows.Editors;
using Infragistics.Windows.DataPresenter;
using Infragistics.Windows.DataPresenter.Events;

		public void Window1_Loaded( object sender, RoutedEventArgs e )
		{
			_fieldChooser.DataPresenter = _dataPresenter;
		}
    <Grid>

        
<Grid.ColumnDefinitions>
            
<ColumnDefinition Width="Auto" />
            
<ColumnDefinition Width="*" />
        
</Grid.ColumnDefinitions>

        
<igDP:FieldChooser
                
x:Name="_fieldChooser"
                
Grid.Column="0"
                
DataPresenter="{Binding ElementName=_dataPresenter}"
                
MinWidth="140"
        
/>
        
        
<igDP:XamDataGrid x:Name="_dataPresenter" Grid.Column="1" />

    
</Grid>
参照