114. How can I change the control's Visual appearance
excalendar1.VisualDesign = "gBFLBWIgBAEHhEJAEGg6EhCDC0HA0IdT/iyAjAAdcWf8YQAAAcKkEThQCCsiAMRhQBkMHhgABEIBsILBQHRCOp0OhvNwgGM" +
"+AUImMHmcHms3nM7ns/GUtmEIB0IIc2GQgFo0q1VrAygI";
113. How can I align the picture on the control's background
excalendar1.Picture = (excalendar1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\card.png`)") as Object); excalendar1.PictureDisplay = exontrol.EXCALENDARLib.PictureDisplayEnum.UpperRight;
112. Is it possible to place a picture on the control's background
excalendar1.Picture = (excalendar1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\card.png`)") as Object);
111. Is it possible to specify the color or the visual appearance (EBN) for selected dates when the control has no focus
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exSelBackColorUnFocus,0x1000000); excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exSelForeColorUnFocus,Color.FromArgb(0,0,0)); excalendar1.HideSelection = false;
110. Is it possible to specify the color for selected dates when the control loses the focus
excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exSelBackColorUnFocus,Color.FromArgb(0,0,0)); excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exSelForeColorUnFocus,Color.FromArgb(0,0,0)); excalendar1.HideSelection = false;
109. Can I change the visual appearance for the tooltip, using your EBN files
excalendar1.ToolTipDelay = 1; excalendar1.ToolTipWidth = 364; excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exToolTipAppearance,0x1aa80f0); excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
108. Can I change the color of the control's border (EBN files)
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.Appearance = (exontrol.EXCALENDARLib.AppearanceEnum)0x1aabbc8 | exontrol.EXCALENDARLib.AppearanceEnum.Etched;
107. Is it possible to change the color for days that are not in the month
excalendar1.FirstDay = exontrol.EXCALENDARLib.WeekDayEnum.Monday; excalendar1.ShowNonMonthDays = true; excalendar1.NonMonthDaysColor = Color.FromArgb(255,0,0);
106. How can I change the foreground color for non-working days
excalendar1.FirstDay = exontrol.EXCALENDARLib.WeekDayEnum.Monday; excalendar1.NonworkingDaysForeColor = Color.FromArgb(255,0,0);
105. How do I change the appearance for the months
excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateHeader,Color.FromArgb(0,0,0)); excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateHeaderForeColor,Color.FromArgb(0,0,0));
104. How can I show the more months with its full size
excalendar1.AutoSize = exontrol.EXCALENDARLib.AutoSizeEnum.exFitClient; excalendar1.MaxMonthX = 2; excalendar1.MaxMonthY = 2;
103. How can I show the calendar with its full size
excalendar1.AutoSize = exontrol.EXCALENDARLib.AutoSizeEnum.exFitClient; excalendar1.MaxMonthX = 1; excalendar1.MaxMonthY = 1;
102. How can I hide the separator above the Today button
excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateSeparatorBar,excalendar1.BackColor);
101. How do I limit the dates being displayed or selected
excalendar1.MaxMonthX = 1; excalendar1.MaxMonthY = 1; excalendar1.ShowYearScroll = false; excalendar1.MinDate = Convert.ToDateTime("1/1/2001"); excalendar1.MaxDate = Convert.ToDateTime("1/31/2001"); excalendar1.Date = Convert.ToDateTime("1/1/2001");
100. How can I remove an event
excalendar1.AutoSize = exontrol.EXCALENDARLib.AutoSizeEnum.exFixedSize; excalendar1.FixedCellWidth = 36; excalendar1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); excalendar1.Events.Add(excalendar1.Date).Image = 1; excalendar1.Events.Remove(excalendar1.Date);
99. How can I count the events
excalendar1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); excalendar1.Events.Add(excalendar1.Date).Image = 1; int var_Count = excalendar1.Events.Count;
98. How can I clear all events
excalendar1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); excalendar1.Events.Add(excalendar1.Date).Image = 1; excalendar1.Events.Clear();
96. How can I assign an icon to a date
excalendar1.AutoSize = exontrol.EXCALENDARLib.AutoSizeEnum.exFixedSize; excalendar1.FixedCellWidth = 36; excalendar1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0" + "/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1" + "/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qO" + "x3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); excalendar1.Events.Add(excalendar1.Date).Image = 1;
95. How can I enable or disable a date
excalendar1.Events.Add(excalendar1.Date).Disabled = true;
94. How can I mark or highlight a date
excalendar1.Events.Add(excalendar1.Date).Marker = true;
93. How can I assign a tooltip or a comment to a date
exontrol.EXCALENDARLib.Event var_Event = excalendar1.Events.Add(excalendar1.Date); var_Event.Comment = "This is a text that shows up when the cursor hovers the date"; var_Event.CommentTitle = "T I T L E"; excalendar1.HideSelection = true;
92. How can I assign any extra data to a date
excalendar1.Events.Add(excalendar1.Date).UserData = "your data";
91. How can I change the background color for a date
excalendar1.Events.Add(excalendar1.Date).BackColor = Color.FromArgb(255,0,0);
90. How can I change the foreground color for a date
excalendar1.Events.Add(excalendar1.Date).ForeColor = Color.FromArgb(255,0,0);
89. How can I draw a date as strikeout
excalendar1.Events.Add(excalendar1.Date).StrikeOut = true;
88. How can I underline a date
excalendar1.Events.Add(excalendar1.Date).Underline = true;
87. How can I make italic a date
excalendar1.Events.Add(excalendar1.Date).Italic = true;
86. How can I bold a date
excalendar1.Events.Add(excalendar1.Date).Bold = true;
85. How can I get the last visible date being displayed in the calendar
excalendar1.ShowNonMonthDays = false; excalendar1.Events.Add(excalendar1.LastVisibleDate).Comment = "This is the last visible date";
84. How can I get the first visible date being displayed in the calendar
excalendar1.ShowNonMonthDays = false; excalendar1.Events.Add(excalendar1.FirstVisibleDate).Comment = "This is the first visible date";
83. How can I hide the ticker that's shown for dates that have a tooltip or a comment
excalendar1.CommentBackColor = excalendar1.BackColor; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date";
82. How can I change the visual aspect of the dates that have a comment or a tooltip assigned
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.CommentBackColor32 = 0x1000000; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
81. How can I change the visual aspect of the dates that have a comment or a tooltip assigned
exontrol.EXCALENDARLib.Appearance var_Appearance = excalendar1.VisualAppearance; var_Appearance.Add(11,"c:\\exontrol\\images\\normal.ebn"); var_Appearance.Add(1,"CP:11 4 2 -2 -2"); excalendar1.CommentBackColor32 = 0x1000000; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
80. How can I change the color to highlight the dates that have a comment or a tooltip assigned
excalendar1.CommentBackColor = Color.FromArgb(0,0,0); excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
79. How can I hide the days that are shown in gray, and doesn' belong to the month
excalendar1.ShowNonMonthDays = false;
78. How can I change the color for non working days
excalendar1.NonworkingDays = 6; excalendar1.NonworkingDaysPattern = exontrol.EXCALENDARLib.PatternEnum.exPatternCross; excalendar1.NonworkingDaysColor = Color.FromArgb(255,0,0);
77. How can I change the pattern or the style to draw the non working days
excalendar1.NonworkingDays = 6; excalendar1.NonworkingDaysPattern = exontrol.EXCALENDARLib.PatternEnum.exPatternCross;
76. How can I show or hide the non working days
excalendar1.NonworkingDays = 0;
75. How can I specify the non working days
excalendar1.NonworkingDays = 6;
72. How can I specify the min and max years to scroll within
excalendar1.MinScrollYear = 2001; excalendar1.MaxScrollYear = 2010;
71. How do I let the tooltip being displayed longer
excalendar1.ToolTipPopDelay = 10000; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
69. How can I change the date that gets the focus
excalendar1.Date = Convert.ToDateTime("1/1/2001"); excalendar1.FocusDate = Convert.ToDateTime("1/2/2001");
68. How can I select a new date
excalendar1.Date = Convert.ToDateTime("1/1/2001"); excalendar1.Value = Convert.ToDateTime("1/2/2001");
67. I've seen that the width of the tooltip is variable. Can I make it larger
excalendar1.ToolTipWidth = 328; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
66. How do I disable showing the tooltip for all control
excalendar1.ToolTipDelay = 0; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
65. How do I show the tooltip quicker
excalendar1.ToolTipDelay = 1; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
64. How do I call your x-script language
excalendar1.ExecuteTemplate("BackColor = RGB(255,0,0)");
63. How do I call your x-script language
excalendar1.Template = "BackColor = RGB(255,0,0)";
62. Can I change the font for the tooltip
excalendar1.ToolTipDelay = 1; stdole.IFontDisp var_StdFont = excalendar1.ToolTipFont; var_StdFont.Name = "Tahoma"; var_StdFont.Size = 14; excalendar1.ToolTipWidth = 364; excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
61. How can I change the caption of the Today's button
excalendar1.TodayCaption = "Azi";
59. How do I unselect a date
excalendar1.SingleSel = false; excalendar1.Date = Convert.ToDateTime("1/1/2001"); excalendar1.SelDate = Convert.ToDateTime("1/2/2001"); excalendar1.SelDate = Convert.ToDateTime("1/3/2001"); excalendar1.SelDate = Convert.ToDateTime("1/4/2001"); excalendar1.UnSelDate(Convert.ToDateTime("1/3/2001"));
58. How do I get the list of selected dates
// SelectionChanged event - Fired when the selection is changed.
private void excalendar1_SelectionChanged(object sender)
{
System.Diagnostics.Debug.Print( excalendar1.SelDate.ToString() );
}
//this.excalendar1.SelectionChanged += new exontrol.EXCALENDARLib.exg2antt.SelectionChangedEventHandler(this.excalendar1_SelectionChanged);
57. How do I select multiple dates
excalendar1.SingleSel = false; excalendar1.Date = Convert.ToDateTime("1/1/2001"); excalendar1.SelDate = Convert.ToDateTime("1/2/2001"); excalendar1.SelDate = Convert.ToDateTime("1/3/2001"); excalendar1.SelDate = Convert.ToDateTime("1/4/2001");
56. How do I get the selected date
excalendar1.SelDate = excalendar1.Date;
55. How can I build a date expression
excalendar1.Date = excalendar1.get_DoDate(2001,1,1);
54. How can I select a new date
excalendar1.Date = excalendar1.get_DoDate(2001,1,1); excalendar1.SelDate = excalendar1.get_DoDate(2001,1,2);
53. How can I select a new date
excalendar1.Date = Convert.ToDateTime("1/1/2001"); excalendar1.SelDate = Convert.ToDateTime("1/2/2001");
52. How can I change the browsed date
excalendar1.Date = Convert.ToDateTime("1/1/2001");
51. How can I show or hide the buttons that in the header
excalendar1.ShowYearSelector = false; excalendar1.ShowMonthSelector = false;
50. How can I show or hide the buttons that scrolls the years
excalendar1.ShowYearSelector = false;
49. How can I disable changing the month in the months selector
excalendar1.ShowMonthSelector = false;
48. How can I change the visual aspect of the selected date, using your EBN
excalendar1.BackColor = Color.FromArgb(255,255,255); excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.SelBackColor32 = 0x1000000; excalendar1.SelForeColor = excalendar1.BackColor;
47. How can I change the colors for selected dates
excalendar1.SelBackColor = Color.FromArgb(0,0,0); excalendar1.SelForeColor = Color.FromArgb(255,255,255);
46. How can I change the color of the line arround a month
excalendar1.DrawBorderLine = exontrol.EXCALENDARLib.LineStyleEnum.LargeDots; excalendar1.BorderLineColor = Color.FromArgb(255,0,0);
45. How can I change the style of the line arround a month
excalendar1.DrawBorderLine = exontrol.EXCALENDARLib.LineStyleEnum.LargeDots;
44. How can I specify the number of months being displayed
excalendar1.ShowTodayButton = false; excalendar1.ShowYearScroll = false; excalendar1.MinMonthX = 2; excalendar1.MaxMonthX = 2; excalendar1.MinMonthY = 2; excalendar1.MaxMonthY = 2;
43. How can I lock the control, so user can't select a new date
excalendar1.Locked = true;
42. How do I change the first day of the week
excalendar1.FirstDay = exontrol.EXCALENDARLib.WeekDayEnum.Monday;
41. How do I change the name of the months
excalendar1.MonthNames = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec";
40. How do I change the name of the months
excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.January,"Jan"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.February,"Feb"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.March,"Mar"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.April,"Apr"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.May,"May"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.June,"Jun"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.July,"Jul"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.August,"Aug"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.September,"Sep"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.October,"Oct"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.November,"Nov"); excalendar1.set_MonthName(exontrol.EXCALENDARLib.MonthEnum.December,"Dec");
39. How do I change the name for each week day
excalendar1.AutoSize = exontrol.EXCALENDARLib.AutoSizeEnum.exFixedSize; excalendar1.FixedCellWidth = 24; excalendar1.FixedCellHeight = 16; excalendar1.WeekDays = "Su Mo Tu We Th Fr Sa"; excalendar1.HeaderForeColor = Color.FromArgb(255,0,0); excalendar1.HeaderBackColor = Color.FromArgb(255,255,255);
38. How can I specify the width and height for dates being displayed in the calendar
excalendar1.AutoSize = exontrol.EXCALENDARLib.AutoSizeEnum.exFixedSize; excalendar1.FixedCellWidth = 22; excalendar1.FixedCellHeight = 16;
37. How can I specify the width and height for dates being displayed in the calendar
excalendar1.AutoSize = exontrol.EXCALENDARLib.AutoSizeEnum.exFixedSize; excalendar1.FixedCellWidth = 32; excalendar1.FixedCellHeight = 24;
36. How do I change the appearance for dates in the calendar
excalendar1.AppearanceDay = exontrol.EXCALENDARLib.AppearanceDayEnum.Day3D;
excalendar1.BackColor32 = 0x8000000f;
35. How do I specify the color for the grid lines
excalendar1.DrawGridLine = exontrol.EXCALENDARLib.LineStyleEnum.SmallDots; excalendar1.GridLineColor = Color.FromArgb(255,0,0);
34. How do I draw the grid lines
excalendar1.DrawGridLine = exontrol.EXCALENDARLib.LineStyleEnum.SmallDots;
33. How do I change the foreground color for the week days and week numbers header
excalendar1.HeaderForeColor = Color.FromArgb(255,0,0); excalendar1.ShowWeeks = true;
32. How do I change the background color for the week days and week numbers header
excalendar1.HeaderBackColor = Color.FromArgb(255,0,0); excalendar1.ShowWeeks = true;
31. How can I show or hide the 'Today' button
excalendar1.ShowTodayButton = false;
30. How can I show or hide the scroll bar that changes the year
excalendar1.ShowYearScroll = false;
29. How can I show or hide the header that displays the months
excalendar1.ShowMonth = false;
28. How can I show or hide the header that displays the week days
excalendar1.ShowDays = false;
27. How do I show or hide the weeks
excalendar1.ShowWeeks = true;
26. How can I change the visual appearance of Today date in the calendar
excalendar1.MarkToday = true;
excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exMarkToday,Color.FromArgb(0,0,0));
25. How do I mark the Today date
excalendar1.MarkToday = true;
24. How can I show the control's selection even if the control loses the focus
excalendar1.HideSelection = false;
23. How can I hide the control's selection when the control loses the focus
excalendar1.HideSelection = true;
22. How do I enable single selection
excalendar1.SingleSel = true;
21. How do I enable multiple selection
excalendar1.SingleSel = false;
20. How do I disable or enable the control
excalendar1.Enabled = false;
19. Can I change the forecolor for the tooltip
excalendar1.ToolTipDelay = 1; excalendar1.ToolTipWidth = 364; excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exToolTipForeColor,Color.FromArgb(0,0,0)); excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
18. Can I change the background color for the tooltip
excalendar1.ToolTipDelay = 1; excalendar1.ToolTipWidth = 364; excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exToolTipBackColor,Color.FromArgb(0,0,0)); excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
17. Can I change the default border of the tooltip, using your EBN files
excalendar1.ToolTipDelay = 1; excalendar1.ToolTipWidth = 364; excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exToolTipAppearance,0x1000000); excalendar1.Events.Add(excalendar1.Date).Comment = "This is a text that shows up when the cursor hovers the date"; excalendar1.HideSelection = true;
16. How can I change the visual appearance of the selected month, in the months selector, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exMonthSelect,0x1000000); excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exMonthSelectForeColor,Color.FromArgb(0,0,0));
15. How can I change the visual appearance of Today date in the calendar, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\pushed.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exMarkToday,0x1000000); excalendar1.set_Background(exontrol.EXCALENDARLib.BackgroundPartEnum.exDropDownSelForeColor,Color.FromArgb(0,0,0)); excalendar1.SelForeColor = Color.FromArgb(0,0,0); excalendar1.MarkToday = true;
14. How can I change the visual appearance of separator between calendar and 'Today' button , using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateSeparatorBar,0x1000000);
13. How can I change the visual appearance of the scrolling bar for years, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateScrollRange,0x1000000); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateScrollThumb,0x2000000);
12. How can I change the visual appearance of 'Today' button, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateTodayUp,0x1000000); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateTodayDown,0x2000000);
11. How can I change the visual appearance of header , using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDateHeader,0x1000000); excalendar1.HeaderForeColor = Color.FromArgb(255,0,0);
10. How can I change the visual appearance of header that week numbers, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exWeeksHeader,0x1000000); excalendar1.HeaderForeColor = Color.FromArgb(255,0,0); excalendar1.ShowWeeks = true;
9. How can I change the visual appearance of header that displays days, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDaysHeader,0x1000000);
8. How can I change the visual appearance of the drop down button, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDropDownButtonUp,0x1000000); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exDropDownButtonDown,0x2000000);
7. How do I change the visual appearance of the left and right buttons in the calendar's header, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exScrollLeft,0x1000000); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exScrollRight,0x1000000);
6. How do I change the visual appearance of the up and down buttons in the calendar's header, using EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exScrollUp,0x1000000); excalendar1.set_Background32(exontrol.EXCALENDARLib.BackgroundPartEnum.exScrollDown,0x1000000);
5. How do I change the control's foreground color
excalendar1.ForeColor = Color.FromArgb(255,0,0);
4. How do I change the control's background color
excalendar1.BackColor = Color.FromArgb(200,200,200);
3. How can I change the control's font
excalendar1.Font.Name = "Verdana";
2. How do I change the control's border, using your EBN files
excalendar1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); excalendar1.Appearance = (exontrol.EXCALENDARLib.AppearanceEnum)0x1000000;
1. How do I remove the control's border
excalendar1.Appearance = exontrol.EXCALENDARLib.AppearanceEnum.None2;