次の表に、FlexGrid for Windows Forms の主なプロパティ、メソッド、およびイベントと、FlexGrid for WPF でそれに対応するメンバをまとめます。
C1FlexGrid のプロパティ
| Windows フォーム | WPF | コメント |
|---|---|---|
| AllowAddNew | データソースレベルでサポートされますが、FlexGrid for WPF には、それに対応する専用の組み込み UI はありません。 | |
| AllowDelete | データソースレベルでサポートされますが、FlexGrid for WPF には、それに対応する専用の組み込み UI はありません。 | |
| AllowDragging | AllowDragging | |
| AllowEditing | IsReadOnly | WPF の他のほとんどのコントロールとの整合性のために、名前が変更されています。 |
| AllowFiltering | データソースレベルでサポートされますが、FlexGrid for WPF には、それに対応する専用の組み込み UI はありません。 | |
| AllowFreezing | Rows.Frozen プロパティと Columns.Frozen プロパティを参照してください。 | |
| AllowMerging | AllowMerging | |
| AllowResizing | AllowResizing | |
| AllowSorting | AllowSorting | |
| AutoClipboard | ClipboardCopyMode、ClipboardPasteMode のプロパティとCopy、Pasteのメソッドを参照してください。 | |
| AutoGenerateColumns | AutoGenerateColumns | |
| AutoResize | AutoSizeRows メソッドと AutoSizeColumns メソッドを参照してください。 | |
| AutoSearch | サポートされていません。 | |
| AutoSearchDelay | サポートされていません。 | |
| BackColor | Background | |
| BottomRow | ViewRange.BottomRow | |
| ClipboardCopyMode | ClipboardCopyMode | |
| Cols | Columns | |
| DataSource | ItemsSource | |
| DrawMode | CellFactory プロパティを参照してください。 | |
| EditOptions | CellFactory プロパティと PrepareCellForEdit イベントを参照してください。 | |
| Enabled | IsEnabled | |
| ExtendLastCol | 最後の列の幅を "*" に設定します。アスタリスクによるサイズ指定は、複数の列の幅を変更し、幅を相対的に指定できるので、はるかに柔軟で強力です。 | |
| FocusRect | サポートされていません。 | |
| HighLight | サポートされていません。 | |
| KeyActionEnter | KeyActionEnter | |
| KeyActionTab | KeyActionTab | |
| LeftColumn | ViewRange.LeftColumn | |
| NewRowWatermark | サポートされていません。 | |
| RightColumn | ViewRange.RightColumn | |
| Rows | Rows | |
| Scrollbars | HorizontalScrollbarVisibility | VerticalScrollbarVisibility |
| ScrollOptions | サポートされていません。 | |
| ScrollPosition | ScrollPosition | |
| SelectionMode | SelectionMode | |
| ShowButtons | サポートされていません。 | |
| ShowCellLabels | サポートされていません。 | |
| ShowCursor | サポートされていません。 | |
| ShowErrors | サポートされていません。 | |
| ShowSort | ShowSort | |
| Subtotal | Column.GroupAggregate | データソースの GroupDescriptors コレクションを使用して、データをグループ化します。GroupAggregate プロパティを個別の列に設定して、各グループの合計または平均などの集計を表示します。 |
| SubtotalPosition | サポートされていません。 | |
| TopRow | ViewRange.TopRow | |
| Tree | サポートされていません。 |
C1FlexGrid.Column のプロパティ
| Windows フォーム | WPF | コメント |
|---|---|---|
| AllowDragging | AllowDragging | |
| AllowEditing | IsReadOnly | |
| AllowFiltering | サポートされていません(フィルタ処理はデータソースレベルで実行できますが、FlexGrid for WPF にはそれをサポートする UI がありません) | |
| AllowMerging | AllowMerging | |
| AllowResizing | AllowResizing | |
| AllowSorting | AllowSorting | |
| Caption | Header | |
| ComboList | ColumnValueConverter オブジェクトを作成し、列の ValueConverter プロパティに割り当てます。 | |
| DataMap | ColumnValueConverter オブジェクトを作成し、列の ValueConverter プロパティに割り当てます。 | |
| DataType | DataType | |
| EditMask | サポートされていません。 | |
| Editor | サポートされていません(PrepareCellForEdit イベントは、起動中のセルエディタにアクセスします)。 | |
| Filter | サポートされていません(フィルタ処理はデータソースレベルで実行できますが、FlexGrid for WPF にはそれをサポートする UI がありません) | |
| Format | Format | |
| ImageMap | サポートされていません。 | |
| Index | Index | |
| IsCollapsed | IsCollapsed | |
| IsVisible | IsVisible | |
| Left | GetCellRect().Left | |
| Name | ColumnName | |
| Right | GetCellRect().Right | |
| Selected | Selected | |
| UserData | Tag | |
| Visible | Visible | |
| Width | Width | Width プロパティは GridLength 型で、動的な列幅に対してスターサイズをサポートします(これまでの ExtendLastCol プロパティは古い形式になります)。 |