LogoLogo
HomeNewsSupportVideos
v4.0
v4.0
  • Wisej.NET API
  • What's New
  • Releases
  • Concepts
  • Themes
  • Extensions
  • Wisej.Web
    • General
      • Application
        • Client
        • ClientBrowser
        • ClientCollection
        • ClientPlatform
        • ClientProfile
        • ClientTheme
        • Configuration
        • LoadConfigurationEventArgs
        • LoadConfigurationEventHandler
        • PlatformProvider
        • Application.FormCollection
        • Application.PageCollection
        • Application.RequestType
        • HashChangedEventArgs
        • HashChangedEventHandler
        • LicenseErrorEventArgs
        • LicenseErrorEventHandler
        • RequestEventArgs
        • RequestEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
      • BackgroundWorker
      • BindableComponent
      • Clipboard
      • Component
      • Control
        • Control.ControlCollection
        • ControlEventArgs
        • ControlEventHandler
        • DragEventArgs
        • DragEventHandler
        • FocusEventArgs
        • FocusEventHandler
        • HelpEventArgs
        • HelpEventHandler
        • JavaScript.ClientEvent
        • JavaScript.ClientEventCollection
        • KeyEventArgs
        • KeyEventHandler
        • KeyPressEventArgs
        • KeyPressEventHandler
        • LayoutEventArgs
        • LayoutEventHandler
        • MouseEventArgs
        • MouseEventHandler
        • PaintEventArgs
        • PaintEventHandler
        • PinchEventArgs
        • PinchEventHandler
        • PreviewKeyDownEventArgs
        • PreviewKeyDownEventHandler
        • QueryContinueDragEventArgs
        • QueryContinueDragEventHandler
        • ResponsiveProfileChangedEventArgs
        • ResponsiveProfileChangedEventHandler
        • RotateEventArgs
        • RotateEventHandler
        • SwipeAxis
        • SwipeDirection
        • SwipeEventArgs
        • SwipeEventHandler
        • TouchEventArgs
        • TouchEventHandler
        • TrackEventArgs
        • TrackEventHandler
        • WebEventArgs
        • WebEventHandler
        • WidgetEventArgs
        • WidgetEventHandler
      • Cursor
      • Cursors
      • DataObject
      • Padding
      • Screen
      • SessionReference<T>
    • Buttons
      • Button
        • MenuButtonItemClickedEventArgs
        • MenuButtonItemClickedEventHandler
      • ButtonBase
      • CheckBox
      • RadioButton
      • SplitButton
    • Common Dialogs
      • ColorDialog
      • CommonDialog
      • FileDialog
      • FileDialogLoadPathEventArgs
      • FileDialogLoadPathEventHandler
      • FileDialogRootCollection
      • FileDialogUI
      • FolderBrowserDialog
      • FolderBrowserDialogUI
      • OpenFileDialog
      • SaveFileDialog
    • Containers
      • Accordion
        • Accordion.PanelCollection
        • AccordionAction
        • AccordionCancelEventArgs
        • AccordionCancelEventHandler
        • AccordionEventArgs
        • AccordionEventHandler
        • AccordionPanel
      • ContainerControl
        • AcceleratorEventArgs
        • AcceleratorEventHandler
      • DataRepeater
        • DataRepeaterAddRemoveItemsCancelEventArgs
        • DataRepeaterAddRemoveItemsCancelEventHandler
        • DataRepeaterAddRemoveItemsEventArgs
        • DataRepeaterAddRemoveItemsEventHandler
        • DataRepeaterDataErrorEventArgs
        • DataRepeaterDataErrorEventHandler
        • DataRepeaterItem
        • DataRepeaterItemCloneEventArgs
        • DataRepeaterItemCloneEventHandler
        • DataRepeaterItemEventArgs
        • DataRepeaterItemEventHandler
        • DataRepeaterItemValueEventArgs
        • DataRepeaterItemValueEventHandler
        • DataRepeaterLayoutStyles
      • Desktop
        • DesktopTaskBarItem
        • DesktopTaskBarItemClickEventArgs
        • DesktopTaskBarItemClickEventHandler
        • DesktopTaskBarItemCollection
        • DesktopTaskBarItemControl
        • DesktopTaskBarItemDateTime
      • FlexLayoutPanel
        • FlexLayoutStyle
      • FlowLayoutPanel
        • FlowDirection
      • Form
        • CloseReason
        • FormBorderStyle
        • FormClosedEventArgs
        • FormClosedEventHandler
        • FormClosingEventArgs
        • FormClosingEventHandler
        • FormStartPosition
        • FormWindowState
        • MdiClient
        • MdiTabProperties
      • GroupBox
      • Page
      • Panel
      • ScrollableControl
        • ScrollEventArgs
        • ScrollEventHandler
      • SlideBar
      • SplitContainer
        • FixedPanel
        • SplitterCancelEventArgs
        • SplitterCancelEventHandler
        • SplitterEventArgs
        • SplitterEventHandler
        • SplitterPanel
      • StatusBar
        • StatusBar.StatusBarPanelCollection
        • StatusBarControl
        • StatusBarPanel
        • StatusBarPanelAutoSize
        • StatusBarPanelBorderStyle
        • StatusBarPanelClickEventArgs
        • StatusBarPanelClickEventHandler
      • TabControl
        • TabAlignment
        • TabControl.TabPageCollection
        • TabControlAction
        • TabControlCancelEventArgs
        • TabControlCancelEventHandler
        • TabControlEventArgs
        • TabControlEventHandler
        • TabPage
        • TabSizeMode
      • TableLayoutPanel
        • ColumnStyle
        • RowStyle
        • TableLayoutColumnStyleCollection
        • TableLayoutControlCollection
        • TableLayoutPanelCellPosition
        • TableLayoutPanelGrowStyle
        • TableLayoutRowStyleCollection
        • TableLayoutSettings
        • TableLayoutStyle
        • TableLayoutStyleCollection
      • ToolBar
        • ToolBar.ToolBarButtonCollection
        • ToolBarButton
        • ToolBarButtonClickEventArgs
        • ToolBarButtonClickEventHandler
        • ToolBarButtonSizeMode
        • ToolBarButtonStyle
        • ToolBarTextAlign
      • UserControl
      • UserPopup
    • Content
      • AspNetPanel
      • Canvas
        • CanvasCompositeOperation
        • CanvasLineCap
        • CanvasLineJoin
        • CanvasRepeatPattern
        • CanvasTextAlign
        • CanvasTextBaseline
      • HtmlPanel
        • HtmlPanelElementClickArgs
        • HtmlPanelElementClickHandler
      • IFramePanel
      • ImageList
        • ImageList.ImageCollection
        • ImageListEntry
      • Label
      • Line
      • LinkLabel
        • LinkArea
        • LinkLabelLinkClickedEventArgs
        • LinkLabelLinkClickedEventHandler
      • PdfViewer
        • PdfViewerType
      • PictureBox
      • ProgressBar
      • ScrollBar
        • HScrollBar
        • HScrollProperties
        • ScrollEventArgs
        • ScrollEventHandler
        • ScrollProperties
        • VScrollBar
        • VScrollProperties
      • Shape
        • Shape.Border
      • Spacer
      • Upload
        • CaptureMode
        • UploadedEventArgs
        • UploadedEventHandler
        • UploadErrorEventArgs
        • UploadErrorEventHandler
        • UploadErrorType
        • UploadingEventArgs
        • UploadingEventHandler
        • UploadProgressEventArgs
        • UploadProgressEventHandler
      • WebBrowser
        • WebBrowserDocumentCompletedEventArgs
        • WebBrowserDocumentCompletedEventHandler
      • Widget
        • WebRequestEventArgs
        • WebRequestHandler
    • Data Binding
      • Binding
      • BindingCompleteContext
      • BindingCompleteEventArgs
      • BindingCompleteEventHandler
      • BindingCompleteState
      • BindingContext
      • BindingManagerBase
      • BindingManagerDataErrorEventArgs
      • BindingManagerDataErrorEventHandler
      • BindingMemberInfo
      • BindingNavigator
      • BindingsCollection
      • BindingSource
      • Command
      • Command<T>
      • CommandArgs
      • CommandArgs<T>
      • CommandManager
      • ControlBindingsCollection
      • ControlUpdateMode
      • ConvertEventArgs
      • ConvertEventHandler
      • CurrencyManager
      • DataSourceUpdateMode
      • IBindableComponent
      • IBinding
      • ICurrencyManagerProvider
      • ItemChangedEventArgs
      • ItemChangedEventHandler
      • ListBindingHelper
      • PropertyManager
    • Editors
      • CharacterCasing
      • ComponentTool
      • ComponentToolCollection
      • DateTimePicker
      • DomainUpDown
        • DomainUpDown.DomainUpDownItemCollection
      • InputType
      • LabelWrapper
      • MaskedTextBox
        • TypeValidationEventArgs
        • TypeValidationEventHandler
      • MonthCalendar
        • DateRangeEventArgs
        • DateRangeEventHandler
        • SelectionRange
      • NumericUpDown
      • TagTextBox
        • TagTextBoxEventArgs
        • TagTextBoxEventHandler
        • TagTextBoxMousEventArgs
        • TagTextBoxMousEventHandler
        • TagTextBoxRenderEventArgs
        • TagTextBoxRenderEventHandler
      • TextBox
      • TextBoxBase
      • TextBoxMode
      • TextBoxType
      • TimeUpDown
        • TimeUpDownFormat
      • ToolClickEventArgs
      • ToolClickEventHandler
      • TrackBar
      • TypedTextBox
      • UpDownBase
    • Enumerations
      • AccessibleRole
      • AnchorStyles
      • Appearance
      • AutoComplete
      • AutoCompleteMode
      • AutoScaleMode
      • AutoSizeMode
      • AutoValidate
      • BorderStyle
      • BoundsSpecified
      • CheckState
      • ColorDepth
      • ComboBoxStyle
      • ControlStyles
      • DataFormats
      • DataFormats.Format
      • DateTimePickerFormat
      • Day
      • DialogResult
      • Display
      • DockStyle
      • DragAction
      • DragDropEffects
      • GetChildAtPointSkip
      • HeaderPosition
      • HorizontalAlignment
      • ImageLayout
      • ImagePosition
      • ImeMode
      • Keys
      • LabelPosition
      • LeftRightAlignment
      • LineStyle
      • LinkBehavior
      • MaskFormat
      • MouseButtons
      • ObjectFit
      • Orientation
      • PanelAutoShowMode
      • PictureBoxSizeMode
      • Placement
      • PlacementMode
      • Position
      • ProgressBarStyle
      • RightToLeft
      • ScrollBars
      • ScrollEventType
      • ScrollOrientation
      • SelectionMode
      • Shortcut
      • SizeType
      • SortOrder
      • TabOrderManagerDirection
      • TextDataFormat
      • TextImageRelation
      • TickStyle
      • ValidationConstraints
      • VerticalAlignment
    • Extenders
      • Animation
        • Animation.Properties
        • AnimationEventArgs
        • AnimationEventHandler
        • AnimationTiming
      • ErrorAnimationType
      • ErrorBlinkStyle
      • ErrorIconAlignment
      • ErrorProvider
        • ErrorProviderErrorChangedEventArgs
        • ErrorProviderErrorChangedHandler
      • HelpTip
      • JavaScript
        • JavaScript.ClientEvent
        • JavaScript.ClientEventCollection
      • Rotation
        • Rotation.Properties
      • StyleSheet
      • TabOrderManager
      • ToolTip
      • ToolTipIcon
      • Validation
        • CurrencyValidationRule
        • DecimalValidationRule
        • EmailValidationRule
        • IntegerValidationRule
        • RegexValidationRule
        • RequiredValidationRule
        • TelephoneValidationRule
        • ValidationEventArgs
        • ValidationEventHandler
        • ValidationRule
    • Interfaces
      • IButtonControl
      • ICommand
      • ICommandSource
      • IContainerControl
      • IDataObject
      • IDropTarget
      • IErrorProvider
      • IImage
      • ILabel
      • IModified
      • IReadOnly
      • IUserData
      • IValidation
    • Lists & Grids
      • CheckedListBox
        • CheckedListBox.CheckedIndexCollection
        • CheckedListBox.CheckedObjectCollection
        • CheckedListBox.ObjectCollection
        • ItemCheckEventArgs
        • ItemCheckEventHandler
      • ComboBox
        • ComboBox.ObjectCollection
      • DataGridView
        • BaseCollection
        • DataGridView.CustomSummary
        • DataGridView.HitTestInfo
        • DataGridView.HitTestType
        • DataGridViewAutoSizeColumnMode
        • DataGridViewAutoSizeColumnsMode
        • DataGridViewAutoSizeRowMode
        • DataGridViewAutoSizeRowsMode
        • DataGridViewBand
        • DataGridViewBindingCompleteEventArgs
        • DataGridViewBindingCompleteEventHandler
        • DataGridViewButtonCell
        • DataGridViewButtonColumn
        • DataGridViewCell
        • DataGridViewCellBorderStyle
        • DataGridViewCellCancelEventArgs
        • DataGridViewCellCancelEventHandler
        • DataGridViewCellCollection
        • DataGridViewCellCommandEventArgs
        • DataGridViewCellCommandEventHandler
        • DataGridViewCellContextMenuNeededEventArgs
        • DataGridViewCellContextMenuNeededEventHandler
        • DataGridViewCellErrorTextNeededEventArgs
        • DataGridViewCellErrorTextNeededEventHandler
        • DataGridViewCellEventArgs
        • DataGridViewCellEventHandler
        • DataGridViewCellFormattingEventArgs
        • DataGridViewCellFormattingEventHandler
        • DataGridViewCellMouseEventArgs
        • DataGridViewCellMouseEventHandler
        • DataGridViewCellPaintEventArgs
        • DataGridViewCellPaintEventHandler
        • DataGridViewCellParsingEventArgs
        • DataGridViewCellParsingEventHandler
        • DataGridViewCellStateChangedEventArgs
        • DataGridViewCellStateChangedEventHandler
        • DataGridViewCellStyle
        • DataGridViewCellStyleContentChangedEventArgs
        • DataGridViewCellStyleContentChangedEventHandler
        • DataGridViewCellStyleScopes
        • DataGridViewCellToolTipTextNeededEventArgs
        • DataGridViewCellToolTipTextNeededEventHandler
        • DataGridViewCellValidatingEventArgs
        • DataGridViewCellValidatingEventHandler
        • DataGridViewCellValueEventArgs
        • DataGridViewCellValueEventHandler
        • DataGridViewCheckBoxCell
        • DataGridViewCheckBoxColumn
        • DataGridViewChildRowCollection
        • DataGridViewClipboardCopyMode
        • DataGridViewCollectionChangeEventArgs
        • DataGridViewColumn
        • DataGridViewColumnCollection
        • DataGridViewColumnEventArgs
        • DataGridViewColumnEventHandler
        • DataGridViewColumnHeaderCell
        • DataGridViewColumnHeadersHeightSizeMode
        • DataGridViewColumnSortMode
        • DataGridViewColumnsSortMode
        • DataGridViewColumnStateChangedEventArgs
        • DataGridViewColumnStateChangedEventHandler
        • DataGridViewComboBoxCell
        • DataGridViewComboBoxCell.ObjectCollection
        • DataGridViewComboBoxColumn
        • DataGridViewComboBoxEditingControl
        • DataGridViewContentAlignment
        • DataGridViewDataErrorEventArgs
        • DataGridViewDataErrorEventHandler
        • DataGridViewDataReadEventArgs
        • DataGridViewDataReadEventHandler
        • DataGridViewDataUpdatedEventArgs
        • DataGridViewDataUpdatedEventHandler
        • DataGridViewDateTimePickerCell
        • DataGridViewDateTimePickerColumn
        • DataGridViewDateTimePickerEditingControl
        • DataGridViewEditingControlShowingEventArgs
        • DataGridViewEditingControlShowingEventHandler
        • DataGridViewEditMode
        • DataGridViewElement
        • DataGridViewElementStates
        • DataGridViewHeaderCell
        • DataGridViewImageCell
        • DataGridViewImageCellLayout
        • DataGridViewImageColumn
        • DataGridViewLinkCell
        • DataGridViewLinkColumn
        • DataGridViewMaskedTextBoxCell
        • DataGridViewMaskedTextBoxColumn
        • DataGridViewMaskedTextBoxEditingControl
        • DataGridViewNumericUpDownCell
        • DataGridViewNumericUpDownColumn
        • DataGridViewNumericUpDownEditingControl
        • DataGridViewRow
        • DataGridViewRowCancelEventArgs
        • DataGridViewRowCancelEventHandler
        • DataGridViewRowCollection
        • DataGridViewRowErrorTextNeededEventArgs
        • DataGridViewRowErrorTextNeededEventHandler
        • DataGridViewRowEventArgs
        • DataGridViewRowEventHandler
        • DataGridViewRowHeaderCell
        • DataGridViewRowHeadersWidthSizeMode
        • DataGridViewRowHeightInfoNeededEventArgs
        • DataGridViewRowHeightInfoNeededEventHandler
        • DataGridViewRowsAddedEventArgs
        • DataGridViewRowsAddedEventHandler
        • DataGridViewRowsRemovedEventArgs
        • DataGridViewRowsRemovedEventHandler
        • DataGridViewRowStateChangedEventArgs
        • DataGridViewRowStateChangedEventHandler
        • DataGridViewSelectedCellCollection
        • DataGridViewSelectedColumnCollection
        • DataGridViewSelectedRowCollection
        • DataGridViewSelectionMode
        • DataGridViewSortCompareEventArgs
        • DataGridViewSortCompareEventHandler
        • DataGridViewSortSelectionMode
        • DataGridViewSummaryRow
        • DataGridViewTextBoxCell
        • DataGridViewTextBoxColumn
        • DataGridViewTextBoxEditingControl
        • DataGridViewToolClickEventArgs
        • DataGridViewToolClickEventHandler
        • DataGridViewTriState
        • IDataGridViewEditingControl
        • InputType
        • ScrollEventArgs
        • ScrollEventHandler
        • SummaryRowPosition
        • SummaryType
        • TextBoxMode
        • TextBoxType
      • ListBox
        • ListBox.ObjectCollection
        • ListBox.SelectedIndexCollection
        • ListBox.SelectedObjectCollection
      • ListControl
        • ListControlConvertEventArgs
        • ListControlConvertEventHandler
      • ListView
        • CacheVirtualItemsEventArgs
        • CacheVirtualItemsEventHandler
        • ColumnClickEventArgs
        • ColumnClickEventHandler
        • ColumnHeader
        • ColumnHeaderAutoResizeStyle
        • ColumnHeaderStyle
        • ColumnReorderedEventArgs
        • ColumnReorderedEventHandler
        • ColumnWidthChangedEventArgs
        • ColumnWidthChangedEventHandler
        • GridLineStyle
        • ImageColumnHeader
        • ItemCheckedEventArgs
        • ItemCheckedEventHandler
        • ItemClickEventArgs
        • ItemClickEventHandler
        • ItemMouseHoverEventArgs
        • ItemMouseHoverEventHandler
        • ItemSelectionChangedEventArgs
        • ItemSelectionChangedEventHandler
        • LabelEditEventArgs
        • LabelEditEventHandler
        • ListView.CheckedIndexCollection
        • ListView.CheckedListViewItemCollection
        • ListView.ColumnHeaderCollection
        • ListView.ListViewItemCollection
        • ListView.SelectedIndexCollection
        • ListView.SelectedListViewItemCollection
        • ListViewBindingCompleteEventArgs
        • ListViewBindingCompleteEventEventHandler
        • ListViewDataUpdatedEventArgs
        • ListViewDataUpdatedEventHandler
        • ListViewItem
        • ListViewItem.ListViewSubItem
        • ListViewItem.ListViewSubItemCollection
        • ListViewItemDragEventArgs
        • ListViewItemDragEventHandler
        • ListViewItemStates
        • ListViewVirtualItemsSelectionRangeChangedEventArgs
        • ListViewVirtualItemsSelectionRangeChangedEventHandler
        • RetrieveVirtualItemEventArgs
        • RetrieveVirtualItemEventHandler
        • SearchForVirtualItemEventArgs
        • SearchForVirtualItemEventHandler
        • View
      • ListViewComboBox
      • PropertyGrid
        • GridItem
        • GridItemCollection
        • GridItemType
        • PropertySort
        • PropertyValueChangedEventArgs
        • PropertyValueChangedEventHandler
        • PropertyValueDataErrorEventArgs
        • PropertyValueDataErrorEventHandler
        • PropertyValueFormattingEventArgs
        • PropertyValueFormattingEventHandler
        • SelectedGridItemBeginEditEventArgs
        • SelectedGridItemBeginEditEventHandler
        • SelectedGridItemChangedEventArgs
        • SelectedGridItemChangedEventHandler
        • SelectedGridItemEndEditEventArgs
        • SelectedGridItemEndEditEventHandler
      • TreeView
        • ItemDragEventArgs
        • ItemDragEventHandler
        • NodeLabelEditEventArgs
        • NodeLabelEditEventHandler
        • TreeNode
        • TreeNodeCollection
        • TreeNodeMouseClickEventArgs
        • TreeNodeMouseClickEventHandler
        • TreeNodeMouseHoverEventArgs
        • TreeNodeMouseHoverEventHandler
        • TreeViewAction
        • TreeViewCancelEventArgs
        • TreeViewCancelEventHandler
        • TreeViewEventArgs
        • TreeViewEventHandler
        • TreeViewNodeDragEventArgs
        • TreeViewNodeDragEventHandler
      • TreeViewComboBox
      • UserComboBox
    • Menus
      • CheckedMenuItem
      • ContextMenu
      • LinkMenuItem
      • MainMenu
      • Menu
      • Menu.MenuItemCollection
      • MenuBar
      • MenuItem
      • MenuItemEventArgs
      • MenuItemEventHandler
      • MenuItemSizeMode
      • MenuMerge
    • Notifications
      • AlertBox
        • MessageBoxIcon
      • MessageBox
        • MessageBoxButtons
        • MessageBoxDefaultButton
        • MessageBoxIcon
      • Toast
    • Other Components
      • Timer
  • Wisej.Base
    • General
      • Component
      • Cookie
        • Cookie.SameSiteMode
      • CookieCollection
      • PostbackPropertyAttribute
      • TextUtils
    • Responsive
      • ResponsiveProfile
      • ResponsiveProfileCollection
      • ResponsivePropertyAttribute
  • Wisej.Core
    • General
      • BrowserStorage
      • CookieStorage
      • DynamicObject
      • FileSystemProvider
      • HealthCheck
      • HttpContext
      • HttpCookie
        • SameSiteMode
      • HttpCookieCollection
      • HttpFileCollection
      • HttpPostedFile
      • HttpRequest
      • HttpResponse
      • IEventFilter
      • IFileSystemProvider
      • LocalStorage
      • MimeTypes
      • SessionStorage
      • SynchronizedList<T>
      • WebMethodAttribute
      • WisejEventArgs
        • WisejEventArgs.KeyboardInfo
        • WisejEventArgs.PointerInfo
      • WisejResourcesAttribute
      • WisejSerializer
      • WisejSerializerOptions
      • WisejSerializerOptionsAttribute
    • Interfaces
      • IWisejComponent
      • IWisejControl
      • IWisejDataStore
      • IWisejEditorService
      • IWisejExtenderProvider
      • IWisejHandler
      • IWisejSerializable
      • IWisejWindow
  • Wisej.Web.Markup
    • Extensions
      • BindingExtensions
      • ButtonExtensions
      • CheckedListBoxExtensions
      • ComboBoxExtensions
      • ControlExtensions
      • DateTimePickerExtensions
      • FlexLayoutPanelExtensions
      • FlowLayoutPanelExtensions
      • FormExtensions
      • GroupBoxExtensions
      • IButtonControlExtensions
      • ICommandSourceExtensions
      • IErrorProviderExtensions
      • IImageExtensions
      • ILabelExtensions
      • IModifiedExtensions
      • IReadOnlyExtensions
      • LabelExtensions
      • LineExtensions
      • LinkLabelExtensions
      • ListBoxExtensions
      • ListControlExtensions
      • MonthCalendarExtenestions
      • NumericUpDownExtensions
      • PageExtensions
      • PanelExtensions
      • PictureBoxExtensions
      • ProgressBarExtensions
      • RadioButtonExtensions
      • ScrollableControlExtensions
      • ScrollBarExtensions
      • ShapeExtensions
      • SplitterControlExtensions
      • StatusBarExtensions
      • TabControlExtensions
      • TableLayoutPanelExtensions
      • TabPageExtensions
      • TextBoxExtensions
      • TimerExtensions
      • TimeUpDownExtensions
      • ToolBarButtonExtensions
      • ToolBarExtensions
      • TrackBarExtensions
      • TreeNodeExtensions
      • TreeViewExtensions
      • UpDownControlExtensions
      • WebBrowserExtensions
  • Wisej.Web.VisualBasic
    • Extensions
      • Interaction
      • MsgBoxResult
      • MsgBoxStyle
  • Wisej.Services
    • General
      • InjectAttribute
      • ServiceLifetime
      • ServiceProvider
  • System
    • Extensions
      • DateTimeExtensions
      • FontExtensions
      • JSON
      • Markdown
      • StringExtensions
  • Wisej.Resources
    • Resources
      • ComponentResourceManager
      • ResourceManager
Powered by GitBook
On this page
  • Methods
  • AllowHtml<TButtonBase>(button, value)
  • AllowMarkdown<TButtonBase>(button, value)
  • AutoEllipsis<TButtonBase>(button, value)
  • AutoShowLoader<TButtonBase>(button, value)
  • AutoSizeMode<TButton>(button, mode)
  • AutoToolTip<TButton>(button, value)
  • BorderStyle<TButton>(button, borderStyle)
  • CharacterCasing<TButtonBase>(button, casing)
  • Display<TButton>(button, display)
  • ImageSpacing<TButton>(button, spacing)
  • MenuItems<TButton>(button, items)
  • OnItemClicked<TButton>(button, action)
  • OnMenuCollapse<TButton>(button, action)
  • OnMenuPopup<TButton>(button, action)
  • Orientation<TSplitButton>(button, orientation)
  • Repeat<TButton>(button, value)
  • Shortcut<TButton>(button, shortcut)
  • TextAlign<TButtonBase>(button, alignment)
  • TextImageRelation<TButtonBase>(button, textImageRelation)
  • UseMnemonic<TButtonBase>(button, value)

Was this helpful?

Export as PDF
  1. Wisej.Web.Markup
  2. Extensions

ButtonExtensions

Wisej.Web.Markup.ButtonExtensions

Last updated 1 month ago

Was this helpful?

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.0.0.0)

Adds fluent markup extension methods to the ButtonBase, Button and SplitButton classes.

public class ButtonExtensions
Public Class ButtonExtensions

Methods

AllowHtml<TButtonBase>(button, value)

Sets the AllowHtml property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the AllowHtml property.

value

A boolean indicating whether HTML is allowed in the button's text.

Returns: TButtonBase. The modified button with the updated AllowHtml property.

This method allows you to enable or disable HTML content in the button's text.


myButton.AllowHtml(true);

AllowMarkdown<TButtonBase>(button, value)

Sets the AllowMarkdown property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the AllowMarkdown property.

value

A boolean indicating whether Markdown is allowed in the button's text.

Returns: TButtonBase. The modified button with the updated AllowMarkdown property.

This method allows you to enable or disable Markdown content in the button's text.


myButton.AllowMarkdown(true);

Sets the AutoEllipsis property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the AutoEllipsis property.

value

A boolean indicating whether to automatically show ellipses when text is truncated.

Returns: TButtonBase. The modified button with the updated AutoEllipsis property.

This method allows you to enable or disable the automatic display of ellipses when the button's text is truncated.


myButton.AutoEllipsis(true);

Sets the AutoShowLoader property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the AutoShowLoader property.

value

A boolean indicating whether to automatically show a loader on the button.

Returns: TButtonBase. The modified button with the updated AutoShowLoader property.

This method allows you to enable or disable the automatic display of a loader on the button.


myButton.AutoShowLoader(true);

Sets the AutoSizeMode property of the specified Button.

Parameter
Type
Description

TButton

button

The button for which to set the AutoSizeMode property.

mode

Returns: TButton. The modified button with the updated AutoSizeMode property.

This method allows you to specify the automatic sizing behavior for the button.


myButton.AutoSizeMode(AutoSizeMode.GrowAndShrink);

Sets the AutoToolTip property of the specified Button.

Parameter
Type
Description

TButton

button

The button for which to set the AutoToolTip property.

value

A boolean indicating whether tooltips are automatically shown for the button.

Returns: TButton. The modified button with the updated AutoToolTip property.

This method allows you to enable or disable automatic tooltips for the button.


myButton.AutoToolTip(true);

Sets the BorderStyle property of the specified Button.

Parameter
Type
Description

TButton

button

The button for which to set the BorderStyle property.

borderStyle

Returns: TButton. The modified button with the updated BorderStyle property.

This method allows you to specify the border style for the button.


myButton.BorderStyle(BorderStyle.FixedSingle);

Sets the CharacterCasing property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the CharacterCasing property.

casing

Returns: TButtonBase. The modified button with the updated CharacterCasing property.

This method allows you to specify the character casing for the button's text.


myButton.CharacterCasing(CharacterCasing.Upper);

Sets the Display property of the specified Button.

Parameter
Type
Description

TButton

button

The button for which to set the Display property.

display

Returns: TButton. The modified button with the updated Display property.

This method allows you to specify the display setting for the button.


myButton.Display(Display.Standard);

Sets the ImageSpacing property of the specified Button.

Parameter
Type
Description

TButton

button

The button for which to set the ImageSpacing property.

spacing

The spacing to set between the image and text on the button.

Returns: TButton. The modified button with the updated ImageSpacing property.

This method allows you to specify the spacing between the image and text on the button.


myButton.ImageSpacing(10);

Adds the specified menu items to the MenuItems collection of the specified Button.

Parameter
Type
Description

TButton

button

The button to which the menu items should be added.

items

Returns: TButton. The modified button with the added menu items.

This method allows you to add multiple menu items to the button in one call.


myButton.MenuItems(new MenuItem("Item1"), new MenuItem("Item2"));

Attaches an event handler for the ItemClicked event of the specified Button.

Parameter
Type
Description

TButton

button

The button to attach the event handler to.

action

An action to execute when an item is clicked.

Returns: TButton. The modified button with the attached ItemClicked event handler.

This method allows you to execute a custom action whenever an item within the button's menu is clicked.


myButton.OnItemClicked((btn, args) =>
{
AlertBox.Show("Item clicked!");
});

Attaches an event handler for the MenuCollapse event of the specified Button.

Parameter
Type
Description

TButton

button

The button to attach the event handler to.

action

An action to execute when the menu collapses.

Returns: TButton. The modified button with the attached MenuCollapse event handler.

This method allows you to execute a custom action whenever the button's menu collapses.


myButton.OnMenuCollapse(btn =>
{
AlertBox.Show("Menu collapsed!");
});

Attaches an event handler for the MenuPopup event of the specified Button.

Parameter
Type
Description

TButton

button

The button to attach the event handler to.

action

An action to execute when the menu pops up.

Returns: TButton. The modified button with the attached MenuPopup event handler.

This method allows you to execute a custom action whenever the button's menu pops up.


myButton.OnMenuPopup(btn =>
{
AlertBox.Show("Menu popped up!");
});

Sets the Orientation property of the specified SplitButton.

Parameter
Type
Description

TSplitButton

button

The split button for which to set the Orientation property.

orientation

Returns: TSplitButton. The modified button with the updated Orientation property.

This method allows you to specify the orientation of the split button, such as horizontal or vertical.


mySplitButton.Orientation(Orientation.Horizontal);

Sets the Repeat property of the specified Button.

Parameter
Type
Description

TButton

button

The button for which to set the Repeat property.

value

A boolean indicating whether the button repeats its action when held down.

Returns: TButton. The modified button with the updated Repeat property.

This method allows you to enable or disable repeating actions for the button when it is held down.


myButton.Repeat(true);

Sets the Shortcut property of the specified Button.

Parameter
Type
Description

TButton

button

The button for which to set the Shortcut property.

shortcut

Returns: TButton. The modified button with the updated Shortcut property.

This method allows you to specify a keyboard shortcut for the button.


myButton.Shortcut(Shortcut.CtrlS);

Sets the TextAlign property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the TextAlign property.

alignment

Returns: TButtonBase. The modified button with the updated TextAlign property.

This method allows you to specify the alignment of the text on the button.


myButton.TextAlign(ContentAlignment.MiddleCenter);

Sets the TextImageRelation property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the TextImageRelation property.

textImageRelation

Returns: TButtonBase. The modified button with the updated TextImageRelation property.

This method allows you to specify the relationship between the button's text and image.


myButton.TextImageRelation(TextImageRelation.ImageBeforeText);

Sets the UseMnemonic property of the specified ButtonBase.

Parameter
Type
Description

TButtonBase

button

The button for which to set the UseMnemonic property.

value

A boolean indicating whether mnemonic characters are used.

Returns: TButtonBase. The modified button with the updated UseMnemonic property.

This method allows you to enable or disable the use of mnemonic characters in the button's text.


myButton.UseMnemonic(true);

The type of the button, must inherit from .

The type of the button, must inherit from .

AutoEllipsis<TButtonBase>(button, value)

The type of the button, must inherit from .

AutoShowLoader<TButtonBase>(button, value)

The type of the button, must inherit from .

AutoSizeMode<TButton>(button, mode)

The type of the button, must inherit from .

The to set for the button.

AutoToolTip<TButton>(button, value)

The type of the button, must inherit from and have an AutoToolTip property.

BorderStyle<TButton>(button, borderStyle)

The type of the button, must inherit from and have a BorderStyle property.

The to set for the button.

CharacterCasing<TButtonBase>(button, casing)

The type of the button, must inherit from .

The to set for the button text.

Display<TButton>(button, display)

The type of the button, must inherit from and have a Display property.

The setting to apply to the button.

ImageSpacing<TButton>(button, spacing)

The type of the button, must inherit from and have an ImageSpacing property.

MenuItems<TButton>(button, items)

The type of the button, must inherit from and have a MenuItems property.

An array of to add to the button.

OnItemClicked<TButton>(button, action)

The type of the button, must inherit from and have an ItemClicked event.

OnMenuCollapse<TButton>(button, action)

The type of the button, must inherit from and have a MenuCollapse event.

OnMenuPopup<TButton>(button, action)

The type of the button, must inherit from and have a MenuPopup event.

Orientation<TSplitButton>(button, orientation)

The type of the button, must inherit from .

The to set for the button.

Repeat<TButton>(button, value)

The type of the button, must inherit from and have a Repeat property.

Shortcut<TButton>(button, shortcut)

The type of the button, must inherit from and have a Shortcut property.

The to set for the button.

TextAlign<TButtonBase>(button, alignment)

The type of the button, must inherit from .

The to set for the button text.

TextImageRelation<TButtonBase>(button, textImageRelation)

The type of the button, must inherit from .

The to set for the button.

UseMnemonic<TButtonBase>(button, value)

The type of the button, must inherit from .

ButtonBase
TButtonBase
Boolean
ButtonBase
TButtonBase
Boolean
ButtonBase
TButtonBase
Boolean
ButtonBase
TButtonBase
Boolean
Button
TButton
AutoSizeMode
AutoSizeMode
Button
TButton
Boolean
Button
TButton
BorderStyle
BorderStyle
ButtonBase
TButtonBase
CharacterCasing
CharacterCasing
Button
TButton
Display
Display
Button
TButton
Nullable<Int32>
Button
TButton
MenuItem[]
MenuItem
Button
TButton
Action<TButton, MenuButtonItemClickedEventArgs>
Button
TButton
Action<TButton>
Button
TButton
Action<TButton>
SplitButton
TSplitButton
Orientation
Orientation
Button
TButton
Boolean
Button
TButton
Shortcut
Shortcut
ButtonBase
TButtonBase
ContentAlignment
ContentAlignment
ButtonBase
TButtonBase
TextImageRelation
TextImageRelation
ButtonBase
TButtonBase
Boolean