PowerTools SPREAD for Windows Forms 8.0J
NavigatorOrientation 列挙体


ナビゲータを表示する位置を定義します。
構文
'Declaration
 
Public Enum NavigatorOrientation 
   Inherits System.Enum
'使用法
 
Dim instance As NavigatorOrientation
public enum NavigatorOrientation : System.Enum 
メンバ
メンバ説明
Bottomカレンダーの下部にナビゲーションバーを配置することを指定します。
Leftカレンダーの左側にナビゲーションバーを配置することを指定します。
Rightカレンダーの右側にナビゲーションバーを配置することを指定します。
Topカレンダーの上部にナビゲーションバーを配置することを指定します。
次のサンプルコードは、NavigatorOrientation 列挙体を使用します。
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell;
datecell.DropDownCalendar.AllowSelection = GrapeCity.Win.Spread.InputMan.CellType.AllowSelection.Anyday;
datecell.DropDownCalendar.EmptyRows = GrapeCity.Win.Spread.InputMan.CellType.EmptyRows.AllAtEnd;
datecell.DropDownCalendar.FirstDayOfWeek = GrapeCity.Win.Spread.InputMan.CellType.DayOfWeek.Friday;
datecell.DropDownCalendar.FlatStyle = FlatStyle.Popup;
datecell.DropDownCalendar.HeaderStyle = new GrapeCity.Win.Spread.InputMan.CellType.Style(Color.Crimson, Color.Black);
datecell.DropDownCalendar.NavigatorOrientation = GrapeCity.Win.Spread.InputMan.CellType.NavigatorOrientation.Bottom;
datecell.DropDownCalendar.ShowNavigator = GrapeCity.Win.Spread.InputMan.CellType.CalendarNavigators.ScrollBar;
datecell.DefaultActiveField = datecell.Fields[2];
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell
datecell.DropDownCalendar.AllowSelection = GrapeCity.Win.Spread.InputMan.CellType.AllowSelection.Anyday
datecell.DropDownCalendar.EmptyRows = GrapeCity.Win.Spread.InputMan.CellType.EmptyRows.AllAtEnd
datecell.DropDownCalendar.FirstDayOfWeek = GrapeCity.Win.Spread.InputMan.CellType.DayOfWeek.Friday
datecell.DropDownCalendar.FlatStyle = FlatStyle.Popup
datecell.DropDownCalendar.HeaderStyle = New GrapeCity.Win.Spread.InputMan.CellType.Style(Color.Crimson, Color.Black)
datecell.DropDownCalendar.NavigatorOrientation = GrapeCity.Win.Spread.InputMan.CellType.NavigatorOrientation.Bottom
datecell.DropDownCalendar.ShowNavigator = GrapeCity.Win.Spread.InputMan.CellType.CalendarNavigators.ScrollBar
datecell.DefaultActiveField = datecell.Fields(2)
継承階層

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.NavigatorOrientation

参照

GrapeCity.Win.Spread.InputMan.CellType 名前空間

 

 


© 2004-2015, GrapeCity inc. All rights reserved.