次の表は、ActiveX 版のプロパティとWPF 版 SPREAD のメンバを比較しています。
| ActiveX 版 プロパティ | WPF 版 メンバ |
|---|---|
| About | 該当なし。 |
| ActiveCellHighlightStyle | GcSpreadGrid.SelectionBorder |
| ActiveCol | GcSpreadGrid.ActiveColumn GcSpreadGrid.ActiveColumnIndex |
| ActiveRow | GcSpreadGrid.ActiveRow GcSpreadGrid.ActiveRowIndex |
| ActiveSheet | マルチシート(複数シート)に対応していません。 |
| AllowCellOverflow | GcSpreadGrid.CanCellOverflow |
| AllowColMove | GcSpreadGrid.ColumnDragMode |
| AllowDragDrop | GcSpreadGrid.CanUserDragCell |
| AllowEditOverflow | GcSpreadGrid.CanEditOverflow |
| AllowMultiBlocks | GcSpreadGrid.SelectionPolicy SelectionPolicy 列挙体 |
| AllowRowMove | GcSpreadGrid.RowDragMode |
| AllowUserFormulas | GcSpreadGrid.CanUserEditFormula |
| AllowUserZoom | ズーム機能を提供していません。 |
| Appearance | GcSpreadGrid.BorderBrush (System.Windows.Controls から継承) GcSpreadGrid.BorderThickness (System.Windows.Controls から継承) |
| ArrowsExitEditMode | GcSpreadGrid.ProcessNavigationKeys |
| AutoCalc | 該当なし。 |
| AutoClipboard | GcSpreadGrid.CanUserCutCopyPaste |
| AutoSize | 該当なし。コントロールのサイズは、列または行の修正時に自動変更されません。 |
| BackColor | Cell.Background Column.Background Row.Background GcSpreadGrid.DefaultStyle.Background |
| BackColorStyle | 該当なし。 |
| BlockMode | 完全に同じではありませんが、類似の機能として、GcSpreadGridG.SelectionPolicy および OperationMode 列挙体があります。 |
| BorderStyle (標準の Visual Basic プロパティ) | GcSpreadGrid.BorderBrush (System.Windows.Controls から継承) GcSpreadGrid.BorderThickness (System.Windows.Controls から継承) |
| ButtonDrawMode | ComboBoxCellType.DropDownButtonVisibility ComboBoxCellType.SpinButtonVisibility DateTimeCellType.DropDownButtonVisibility DateTimeCellType.SpinButtonVisibility MaskCellType.SpinButtonVisibility NumberCellType.DropDownButtonVisibility NumberCellType.SpinButtonVisibility |
| CausesValidation (標準の Visual Basic プロパティ) | 該当なし。 |
| CellNote | 該当なし。 |
| CellNoteIndicator | 該当なし。 |
| CellTag | Cell.Tag Column.Tag Row.Tag GcSpreadGrid.Tag(System.Windows.FrameworkElement から継承) |
| CellType | Cell.CellType Column.CellType |
| ChangeMade | 該当なし。 |
| Clip | GcSpreadGrid.GetClip GcSpreadGrid.SetClip |
| ClipboardOptions | GcSpreadGrid.ClipboardOptions WPF 版が提供する設定は Windows Forms 版と同じです。 |
| ClipValue | GcSpreadGrid.SetClipValue GcSpreadGrid.GetClipValue |
| Col | 同等のプロパティなし。この情報は、各メソッドの引数として指定されるか、使用するオブジェクトによって黙示的に定義されます。 |
| Col2 | 同等のプロパティなし。この情報は、各メソッドの引数として指定されるか、使用するオブジェクトによって黙示的に定義されます。 |
| ColHeaderRows | ColumnHeader.RowCount |
| ColHeadersAutoText | ColumnHeader.AutoText |
| ColHeadersAutoTextIndex | ColumnHeader.AutoTextIndex |
| ColHeadersShow | ColumnHeader.IsVisible |
| ColHeadersUserSortIndex | ColumnHeader.SortIndicatorIndex |
| ColHidden | Column.IsVisible |
| ColID | Column.Tag を使用して列の識別子を指定します。 |
| ColMerge | Column.MergePolicy ヘッダのデータは自動的にマージされません。 |
| ColPageBreak | Column.IsPageBreak |
| ColsFrozen | GcSpreadGrid.FrozenColumnCount |
| ColUserSortIndicator | Column.SortDirection |
| ColWidth | Column.Width GcSpreadGrid.GetColumnWidth GcSpreadGrid.SetColumnWidth |
| CursorIcon CursorStyle CursorType |
該当なし。 |
| DataBindings (標準の Visual Basic プロパティ) | 該当なし。 |
| DataColCnt | 該当なし。 |
| DataField | Column.DataField |
| DataFillEvent | 該当なし。WPF では処理方法が異なります。 |
| DataMember | 該当なし。 GcSpreadGrid.ItemsSource プロパティを使用してください。 |
| DataRowCnt | 該当なし。 |
| DataSource | GcSpreadGrid.ItemsSource |
| DAutoCellTypes | 該当なし。GcSpreadGrid.AutoGenerateColumns プロパティ および GcSpreadGrid.AutoGeneratingColumn イベントで、類似の処理が可能です。詳しくは「自動生成列のカスタマイズ」を参照してください。 |
| DAutoFill | 該当なし。 |
| DAutoHeadings | 該当なし。 |
| DAutoSave | 該当なし。 |
| DAutoSizeCols | 該当なし。 |
| DInformActiveRowChange | 該当なし。 |
| EditEnterAction | GcSpreadGrid.InputBinding プロパティでキーボード操作をカスタマイズできます。詳しくは「キーボード操作」を参照してください。 |
| EditMode | 該当なし。GcSpreadGrid.BeginEdit メソッドで編集状態を開始できます。 |
| EditModePermanent | GcSpreadGrid.EditModePermanent |
| EditModeReplace | GcSpreadGrid.EditCaretPosition |
| Enabled (標準の Visual Basic プロパティ) | GcSpreadGrid.IsEnabled (System.Windows.UIElement から継承) |
| EventEnabled | 該当なし。 |
| Font FontBold FontItalic FontName FontSize FontStrikethru FontUnderline |
Cell.FontFamily Cell.FontSize Cell.FontStretch Cell.FontStyle Cell.FontWeight Column.FontFamily Column.FontSize Column.FontStretch Column.FontStyle Column.FontWeight Row.FontFamily Row.FontSize Row.FontStretch Row.FontStyle Row.FontWeight GcSpreadGrid.FontFamily GcSpreadGrid.FontSize GcSpreadGrid.FontStretch GcSpreadGrid.FontStyle GcSpreadGrid.FontWeight GcSpreadGrid.DefaultStyle.FontFamily GcSpreadGrid.DefaultStyle.FontSize GcSpreadGrid.DefaultStyle.FontStretch GcSpreadGrid.DefaultStyle.FontStyle GcSpreadGrid.DefaultStyle.FontWeight |
| ForeColor | Cell.Foreground Column.Foreground Row.Foreground GcSpreadGrid.DefaultStyle.Foreground GcSpreadGrid.Foreground (System.Windows.Controls.Control から継承) |
| Formula | Cell.Formula Column.Formula GcSpreadGrid.GetFormula GcSpreadGrid.SetFormula |
| FormulaSync | 該当なし。 |
| GrayAreaBackColor | GcSpreadGrid.Background(System.Windows.Controls.Control から継承) |
| GridColor GridShowHoriz GridShowVert |
GcSpreadGrid.HorizontalGridLine GcSpreadGrid.VerticalGridLine |
| GridSolid | GcSpreadGrid.HorizontalGridLine GcSpreadGrid.VerticalGridLine |
| hDCPrinter | 該当なし。 |
| Height (標準の Visual Basic プロパティ) | GcSpreadGrid.Height (System.Windows.FrameworkElement から継承) |
| hWnd | 該当なし。 |
| Index (標準の Visual Basic プロパティ) | 該当なし。 |
| IsBlockSelected | 該当なし。 |
| Left (標準の Visual Basic プロパティ) | GcSpreadGrid.Margin.Left(System.Windows.FrameworkElement から継承) |
| LeftCol | メソッド: GcSpreadGrid.ShowColumn |
| Lock | Cell.Locked Column.Locked GcSpreadGrid.Locked |
| LockBackColor | 該当なし。 |
| LockForeColor | 該当なし。 |
| MaxCols | GcSpreadGrid.ColumnCount |
| MaxRows | GcSpreadGrid.RowCount |
| MaxTextCellHeight MaxTextCellWidth |
該当なし。 |
| MaxTextColWidth | 該当なし。 |
| MaxTextRowHeight | 該当なし。 |
| MouseIcon (標準の Visual Basic プロパティ) | WPF でサポートされる該当機能なし。 |
| MousePointer (標準の Visual Basic プロパティ) | WPF でサポートされる該当機能なし。 |
| MoveActiveOnFocus | 該当なし。 |
| Name (標準の Visual Basic プロパティ) | GcSpreadGrid.Name (System.Windows.FrameworkElement から継承) |
| NoBeep | WPF でサポートされる該当機能なし。 |
| NoBorder | WPF でサポートされる該当機能なし。 |
| OLEDropMode | 該当なし。 |
| OperationMode | GcSpreadGrid.OperationMode |
| Parent (標準の Visual Basic プロパティ) | GcSpreadGrid.Parent (System.Windows.FrameworkElement から継承) |
| PrintAbortMsg | 該当なし。 |
| PrintBestFitPagesTall | PrintSettings.FitPagesTall |
| PrintBestFitPagesWide | PrintSettings.FitPagesWide |
| PrintBorder | PrintSettings.OutlineColor PrintSettings.OutlineThickness |
| PrintCenterOnPageH | PrintSettings.Centering(水平方向) |
| PrintCenterOnPageV | PrintSettings.Centering(垂直方向) |
| PrintColHeaders | PrintSettings.PrintColumnHeader |
| PrintColor | 該当なし。 |
| PrintFirstPageNumber | PrintSettings.FirstPageNumber |
| PrintFooter | PrintSettings.Footer |
| PrintGrid | PrintSettings.ShowGridline |
| PrintHeader | PrintSettings.Header |
| PrintJobName | 該当なし。 |
| PrintMarginBottom | PrintSettings.Margin Thickness.Bottom |
| PrintMarginLeft | PrintSettings.Margin Thickness.Left |
| PrintMarginRight | PrintSettings.Margin Thickness.Right |
| PrintMarginTop | PrintSettings.Margin Thickness.Top |
| PrintNextPageBreakCol | 該当なし。 |
| PrintNextPageBreakRow | 該当なし。 |
| PrintOrientation | PrintSettings.PageOrientation |
| PrintPageCount | 該当なし。 |
| PrintPageEnd | PrintSettings.EndPage |
| PrintPageOrder | PrintSettings.PageOrder |
| PrintPageStart | PrintSettings.StartPage |
| PrintRowHeaders | PrintSettings.PrintRowHeader |
| PrintScalingMethod | PrintSettings.ZoomFactor PrintSettings.FitPagesTall PrintSettings.FitPagesWide |
| PrintShadows | 該当なし。 |
| PrintSmartPrint | 該当なし。 |
| PrintType | PrintSettings.PrintArea |
| PrintUseDataMax | 該当なし。 |
| PrintZoomFactor | PrintSettings.ZoomFactor |
| ProcessTab | GcSpreadGrid が提供する InputBinding プロパティで [Tab] キーのアクションを変更できます。 |
| Protect | GcSpreadGrid.Protected |
| ReDraw | WPF でサポートされる該当機能なし。 |
| RestrictCols | 該当なし。 |
| RestrictRows | 該当なし。 |
| RetainSelBlock | GcSpreadGrid.SelectionBorderUnfocused |
| Row | 該当なし。このプロパティは、各メソッドの引数として指定されるか、使用するオブジェクトによって黙示的に定義されます。 |
| Row2 | 該当なし。このプロパティは、各メソッドの引数として指定されるか、使用するオブジェクトによって黙示的に定義されます。 |
| RowHeaderCols | RowHeader.ColumnCount |
| RowHeadersAutoText | RowHeader.AutoText |
| RowHeadersAutoTextIndex | RowHeaders.AutoTextIndex |
| RowHeadersShow | RowHeader.IsVisible |
| RowHeight | Row.Height |
| RowHidden | Row.IsVisible |
| RowMerge | Row.MergePolicy ヘッダのデータは自動的にマージされません。 |
| RowPageBreak | Row.IsPageBreak |
| RowsFrozen | GcSpreadGrid.FrozenRowCount |
| ScriptEnhanced | WPF でサポートされる該当機能なし。 |
| ScrollBarExtMode | GcSpreadGrid.HorizontalScrollBarVisibility GcSpreadGrid.VerticalScrollBarVisibility ScrollBarVisibility 列挙体 |
| ScrollBarHColor | 該当なし。 |
| ScrollBarHeight | 該当なし。 |
| ScrollBarMaxAlign | 該当なし。 |
| ScrollBars | GcSpreadGrid.HorizontalScrollBarVisibility GcSpreadGrid.VerticalScrollBarVisibility ScrollBarVisibility 列挙体 |
| ScrollBarShowMax | 該当なし。 |
| ScrollBarTrack | GcSpreadGrid.IsDeferredScrollingEnabled |
| ScrollBarVColor | 該当なし。 |
| ScrollBarWidth | 該当なし。 |
| SelBackColor | GcSpreadGrid.SelectionBackground |
| SelBlockCol | GcSpreadGrid.SelectedRanges |
| SelBlockCol2 | 該当なし。 |
| SelBlockRow | GcSpreadGrid.SelectedRanges |
| SelBlockRow2 | 該当なし。 |
| SelectBlockOptions | GcSpreadGrid.HeaderSelectionOptions |
| SelectionCount | GcSpreadGrid.SelectedRanges.Count |
| SelForeColor | GcSpreadGrid.SelectionForeground GcSpreadGrid.SelectionForegroundUnfocused |
| SelLength | GeneralCellType は該当する機能を提供しませんが、GcSpreadGrid の EditElementShowing イベントで取得できます。 |
| SelModeIndex | GcSpreadGrid.SelectedRanges |
| SelModeSelected | Cell.IsSelected |
| SelStart | GeneralCellType は該当する機能を提供しませんが、GcSpreadGrid の EditElementShowing イベントで取得できます。 |
| SelText | GeneralCellType は該当する機能を提供しませんが、GcSpreadGrid の EditElementShowing イベントで取得できます。 |
| ShadowColor | ColumnHeader.DefaultStyle.Background RowHeader.DefaultStyle.Background |
| ShadowDark | 該当なし。 |
| ShadowText | ColumnHeader.DefaultStyle.Foreground RowHeader.DefaultStyle.Foreground |
| Sheet | マルチシート(複数シート)に対応していません。 |
| SheetCount | マルチシート(複数シート)に対応していません。 |
| SheetName | マルチシート(複数シート)に対応していません。 |
| SheetSendingEvent | マルチシート(複数シート)に対応していません。 |
| SheetVisible | マルチシート(複数シート)に対応していません。 |
| ShowScrollTips | GcSpreadGrid.ShowScrollTip |
| SortKey | SpreadSortDescription.ColumnIndex |
| SortKeyOrder | SpreadSortDescription.Direction |
| StartingColNumber | 該当なし。 |
| StartingRowNumber | 該当なし。 |
| TabIndex (標準の Visual Basic プロパティ) | GcSpreadGrid.TabIndex (System.Windows.Controls.Control から継承) |
| TabStripFont | マルチシート(複数シート)に対応していません。 |
| TabStripLeftSheet | マルチシート(複数シート)に対応していません。 |
| TabStripPolicy | マルチシート(複数シート)に対応していません。 |
| TabStripRatio | マルチシート(複数シート)に対応していません。 |
| TabStop (標準の Visual Basic プロパティ) | GcSpreadGrid.IsTabStop (System.Windows.Controls.Control から継承) |
| Tag (標準の Visual Basic プロパティ) | Cell.Tag Column.Tag Row.Tag GcSpreadGrid.Tag(System.Windows.FrameworkElement から継承) |
| Text | Cell.Text GcSpreadGrid.GetCellText GcSpreadGrid.SetCellText |
| TextTip | 該当なし。 |
| TextTipDelay | 該当なし。 |
| Top (標準の Visual Basic プロパティ) | GcSpreadGrid.Margin.Top(System.Windows.FrameworkElement から継承) |
| TopRow | GcSpreadGrid.ShowRow |
| TwoDigitYearMax | DateYearField.TwoDigitYearMax |
| TypeButtonAlign | Cell.HorizontalAlignment Cell.VerticalAlignment |
| TypeButtonBorderColor | 該当なし。 |
| TypeButtonColor | ButtonCellType.DisplayElementStyle 背景を設定するには Style.Setter を使用します。 |
| TypeButtonDarkColor | 該当なし。 |
| TypeButtonLightColor | 該当なし。 |
| TypeButtonPicture | ButtonCellType.ContentTemplate ButtonCellType.ContentTemplate でイメージを設定できます。 |
| TypeButtonPictureDown | ButtonCellType.ContentTemplate ButtonCellType.ContentTemplate でイメージを設定できます。 |
| TypeButtonShadowSize | 該当なし。 |
| TypeButtonText | ButtonCellType.Content ButtonCellType.ContentTemplate ButtonCellType.ContentTemplate で TextBlock を設定できます。 |
| TypeButtonTextColor | Cell.Foreground |
| TypeButtonType | 該当なし。 |
| TypeCheckCenter | 該当なし。 |
| TypeCheckPicture | 該当なし。 |
| TypeCheckText | CheckBoxCellType.Content CheckBoxCellType.TrueContent CheckBoxCellType.FalseContent CheckBoxCellType.IndeterminateContent |
| TypeCheckTextAlign | Cell.HorizontalAlignment Cell.VerticalAlignment |
| TypeCheckType | CheckBoxCellType.IsThreeState |
| TypeComboBoxAutoSearch | 該当なし。 |
| TypeComboBoxCount | ComboBoxCellType.Items.Count |
| TypeComboBoxCurSel | 該当なし。 |
| TypeComboBoxEditable | ComboBoxCellType.IsEditable |
| TypeComboBoxhWnd | 該当なし。 |
| TypeComboBoxIndex | ComboBoxCellType.Items |
| TypeComboBoxList | ComboBoxCellType.Items |
| TypeComboBoxMaxDrop | ComboBoxCellType.MaxDropDownItems |
| TypeComboBoxString | ComboBoxCellType.Items |
| TypeComboBoxWidth | ComboBoxCellType.DropDownWidth |
| TypeCurrencyDecimal | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyDecPlaces | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyLeadingZero | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyMax | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyMin | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyNegStyle | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyPosStyle | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencySeparator | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyShowSep | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencyShowSymbol | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeCurrencySymbol | 通貨型セルは提供していません。GeneralCellType または NumberCellType を使用してください。 |
| TypeDateCentury | DateTimeCellType.FieldSet |
| TypeDateFormat | DateTimeCellType.FieldSet |
| TypeDateMax | DateTimeCellType.MaxDate |
| TypeDateMin | DateTimeCellType.MinDate |
| TypeDateSeparator | DateLiteralField.Text |
| TypeEditCharCase | TextCellType.Format |
| TypeEditCharSet | TextCellType.Format |
| TypeEditMultiLine | TextCellType.Multiline |
| TypeEditPassword | 該当なし。 |
| TypeEllipses | TextCellType.TextTrimming |
| TypeHAlign | Cell.HorizontalAlignment Column.HorizontalAlignment Row.HorizontalAlignment GcSpreadGrid.DefaultStyle.HorizontalAlignment CellHorizontalAlignment 列挙体 |
| TypeMaxEditLen | TextCellType.MaxLength |
| TypeNegRed | NumberCellType.NegativeForeground |
| TypeNumberDecimal | NumberDecimalSeparatorField.DecimalSeparator |
| TypeNumberDecPlaces | NumberCellType.FieldSet |
| TypeNumberLeadingZero | NumberCellType.FieldSet |
| TypeNumberMax | NumberCellType.MaxValue |
| TypeNumberMin | NumberCellType.MinValue |
| TypeNumberNegStyle | NumberCellType.FieldSet |
| TypeNumberSeparator | NumberIntegerPartField.GroupSeparator |
| TypeNumberShowSep | NumberIntegerPartField.GroupSeparator |
| TypeOwnerDrawStyle | DataTemplateCellType を使用してください。 |
| TypePercentDecimal | パーセント型セルは提供していません。GeneralCellType を使用してください。 |
| TypePercentDecPlaces | パーセント型セルは提供していません。GeneralCellType を使用してください。 |
| TypePercentLeadingZero | パーセント型セルは提供していません。GeneralCellType を使用してください。 |
| TypePercentMax | パーセント型セルは提供していません。GeneralCellType を使用してください。 |
| TypePercentMin | パーセント型セルは提供していません。GeneralCellType を使用してください。 |
| TypePercentNegStyle | パーセント型セルは提供していません。GeneralCellType を使用してください。 |
| TypePicDefaultText | MaskCellType.PromptChar |
| TypePicMask | MaskCellType.FieldSet |
| TypePictCenter TypePictMaintainScale TypePictPicture TypePictStretch |
ImageCellType.Stretch ImageCellType.ImageConverter |
| TypeScientificDecimal TypeScientificDecPlaces TypeScientificMax TypeScientificMin |
該当なし。GeneralCellType を使用してください。 |
| TypeSpin | ComboBoxCellType.SpinButtonVisibility DateTimeCellType.SpinButtonVisibility NumberCellType.SpinButtonVisibility MaskCellType.SpinButtonVisibility |
| TypeSpinInc | DateTimeCellType.SpinIncrementValue DateTimeCellType.SpinIncrement NumberCellType.SpinIncrementValue NumberCellType.SpinIncrement MaskCellType.SpinIncrement |
| TypeSpinWrap | DateTimeCellType.SpinAllowWrap NumberCellType.SpinAllowWrap MaskCellType.SpinAllowWrap |
| TypeTextOrient | 該当なし。 |
| TypeTextPrefix | 該当なし。 |
| TypeTextShadowTypeTextShadowIn | 該当なし。 |
| TypeTextWordWrap | TextCellType.TextWrapping |
| TypeTime24Hour | DateTimeCellType.FieldSet |
| TypeTimeMax | DateTimeCellType.MaxDate |
| TypeTimeMin | DateTimeCellType.MinDate |
| TypeTimeSeconds | DateTimeCellType.FieldSet |
| TypeTimeSeparator | DateLiteralField.Text |
| TypeVAlign | Cell.VerticalAlignment Column.VerticalAlignment Row.VerticalAlignment GcSpreadGrid.DefaultStyle.VerticalAlignment CellVerticalAlignment 列挙体 |
| UnitType | 該当なし。 |
| UserColAction | Column.CanUserSort GcSpreadGrid.CanUserSortColumns |
| UserResize | GcSpreadGrid.CanUserResizeColumns GcSpreadGrid.CanUserResizeRows |
| UserResizeCol | Column.CanUserResize |
| UserResizeRow | Row.CanUserResize |
| Value | Cell.Value GcSpreadGrid.GetCellValue GcSpreadGrid.SetCellValue プロパティとメソッドは Windows Forms 版と同じです。Value プロパティと GetValue メソッドおよび SetValue メソッドでオブジェクトを取得または設定します。 |
| VirtualCurRowCount VirtualCurTop VirtualMaxRows VirtualMode VirtualOverlap VirtualRows VirtualScrollBuffer |
該当なし。 |
| Visible (標準の Visual Basic プロパティ) | GcSpreadGrid.IsVisible(System.Windows.UIElement から継承) |
| VisibleCols VisibleRows |
該当なし。 Column.IsVisible および Row.IsVisible を参照してください。 |
| VScrollSpecial VScrollSpecialType | 該当なし。 |
| Width (標準の Visual Basic プロパティ) | GcSpreadGrid.Width (System.Windows.FrameworkElement から継承) |