



ColorScheme - Gets or Sets ColorScheme to be applied.UseTheme - Gets or Sets whether to use predefined theme or custom colors.Returns whether item was selected or not. bool SelectItem(BarItem item) - Reset the appearance of Calendar control to default value.BarItem of which state is to be determined. State GetButtonState(BarItem barItem) - Gets Current State of button.index is index of item which needs to be shown. EnsureVisibility(int index) - Ensures given item is visible.Returns whether Load was successful or not. fileName is location of XML file containing color scheme. bool ImportAppearance(string fileName) - Loads the color scheme from an XML file.Returns whether save was successful or not. fileName is path of XML file to which data will be written. bool ExportAppearance(string fileName) - Saves current color scheme of the Calendar control to an XML file.Returns HitTestInfo object containing information related to hit. HitTestInfo HitTest(int x, int y) - Performs HitTest for specified point.x and y coordinate of Point of hit.HitTestInfo HitTest(Point pt) - Performs HitTest for specified point.pt Point of hit.SelectionChanging - Occurs when Button Selection is about to change.SelectionChanged - Occurs when Button Selection changes.ItemsRemoving - Occurs when BarItem is being removed from Items.ItemsRemoved - Occurs when BarItem of Items is removed from collection.ItemsInserting - Occurs when BarItem is being inserted on Items.ItemsInserted - Occurs when BarItem of Items is inserted into collection.ItemsClearing - Occurs when Items is clearing.ItemsChanging - Occurs when BarItem of Items is changing.ItemsChanged - Occurs when BarItem of Items is changed.This is also fired when Shortcut key is pressed or Enter key is pressed. ItemClick - Occurs when a button is pressed.This can be used to implement own drawing. CustomDrawItems - Occurs when BarItem requests drawing.This can be used to implement custom draw. CustomDrawBackGround - Occurs when ButtonBar requests drawing.This fired when clicked on area other than buttons. BarClick - Occurs when Bar is clicked.UseMnemonic - Indicates whether to use shortcut keys or not.ThemeProperty - Property used to Get or Set which theme should be used.Spacing - Gets or Sets distance between buttons.ShowBorders - Gets or Sets whether borders will be shown or not.SelectedItem - Gets current selected button.Padding - Gets or sets distance of button from control boundary.ImageTransparency - Gets or Sets Background Image transparency.DisableTransparency - Gets or Sets Disabled State Transparency.Appearance - Appearance object containing Global Appearance information.Move by arrow key or hover over a button to select and press enter. Use the designer to fine tune the appearance.
This control is an array of buttons aligned vertical. Supports Saving/Loading of layout colors.ButtonBar control has the following features:
