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
  • AccessibleDescription<TControl>(control, accessibleDescription)
  • AccessibleName<TControl>(control, accessibleName)
  • AccessibleRole<TControl>(control, accessibleRole)
  • AllowDrop<TControl>(control, allowDrop)
  • Also<TControl>(control, action)
  • Anchor<TControl>(control, anchors)
  • Anonymous<TControl>(control, value)
  • AutoScrollOffset<TControl>(control, offset)
  • AutoSize<TControl>(control, autoSize)
  • BackColor<TControl>(control, color)
  • BackgroundImage<TControl>(control, image)
  • BackgroundImageLayout<TControl>(control, layout)
  • Bounds<TControl>(control, bounds)
  • Bounds<TControl>(control, top, left)
  • Bounds<TControl>(control, top, left, width, height)
  • Capture<TControl>(control, capture)
  • CausesValidation<TControl>(control, causesValidation)
  • ClientSize<TControl>(control, clientSize)
  • ContextMenu<TControl>(control, contextMenu)
  • Controls<TControl>(control, children)
  • Cursor<TControl>(control, cursor)
  • Dock<TControl>(control, dockPosition)
  • Enabled<TControl>(control, enabled)
  • Focusable<TControl>(control, value)
  • Font<TControl>(control, font)
  • FontSize<TControl>(control, size)
  • ForeColor<TControl>(control, foreColor)
  • Height<TControl>(control, height)
  • Leave<TControl>(control, action)
  • Left<TControl>(control, left)
  • Location<TControl>(control, location)
  • Location<TControl>(control, left, top)
  • Margin<TControl>(control, margin)
  • Margin<TControl>(control, padding)
  • MaximumSize<TControl>(control, size)
  • MaximumSize<TControl>(control, width, height)
  • MinimumSize<TControl>(control, size)
  • MinimumSize<TControl>(control, width, height)
  • Name<TControl>(control, name)
  • OnAutoSizeChanged<TControl>(control, action)
  • OnBackColorChanged<TControl>(control, action)
  • OnBackgroundImageChanged<TControl>(control, action)
  • OnBackgroundImageLayoutChanged<TControl>(control, action)
  • OnBindingContextChanged<TControl>(control, action)
  • OnCausesValidationChanged<TControl>(control, action)
  • OnClick<TControl>(control, action)
  • OnClientSizeChanged<TControl>(control, action)
  • OnContextMenuChanged<TControl>(control, action)
  • OnControlAdded<TControl>(control, action)
  • OnControlRemoved<TControl>(control, action)
  • OnCursorChanged<TControl>(control, action)
  • OnDockChanged<TControl>(control, action)
  • OnDoubleClick<TControl>(control, action)
  • OnDragDrop<TControl>(control, action)
  • OnDragEnter<TControl>(control, action)
  • OnDragLeave<TControl>(control, action)
  • OnDragOver<TControl>(control, action)
  • OnEnabledChanged<TControl>(control, action)
  • OnEnter<TControl>(control, action)
  • OnFontChanged<TControl>(control, action)
  • OnForeColorChanged<TControl>(control, action)
  • OnGotFocus<TControl>(control, action)
  • OnHandleCreated<TControl>(control, action)
  • OnHandleDestroyed<TControl>(control, action)
  • OnHelpRequested<TControl>(control, action)
  • OnKeyDown<TControl>(control, action)
  • OnKeyPress<TControl>(control, action)
  • OnKeyUp<TControl>(control, action)
  • OnLayout<TControl>(control, action)
  • OnLocationChanged<TControl>(control, action)
  • OnLostFocus<TControl>(control, action)
  • OnMarginChanged<TControl>(control, action)
  • OnMouseCaptureChanged<TControl>(control, action)
  • OnMouseClick<TControl>(control, action)
  • OnMouseDoubleClick<TControl>(control, action)
  • OnMouseDown<TControl>(control, action)
  • OnMouseEnter<TControl>(control, action)
  • OnMouseHover<TControl>(control, action)
  • OnMouseLeave<TControl>(control, action)
  • OnMouseMove<TControl>(control, action)
  • OnMouseUp<TControl>(control, action)
  • OnMouseWheel<TControl>(control, action)
  • OnMove<TControl>(control, action)
  • OnPaddingChanged<TControl>(control, action)
  • OnPaint<TControl>(control, action)
  • OnParentChanged<TControl>(control, action)
  • OnPreviewKeyDown<TControl>(control, action)
  • OnQueryContinueDrag<TControl>(control, action)
  • OnResize<TControl>(control, action)
  • ONRightToLeftChanged<TControl>(control, action)
  • OnSizeChanged<TControl>(control, action)
  • OnStyleChanged<TControl>(control, action)
  • OnSwipe<TControl>(control, action)
  • OnTabIndexChanged<TControl>(control, action)
  • OnTabStopChanged<TControl>(control, action)
  • OnTextChanged<TControl>(control, action)
  • OnTouchCancel<TControl>(control, action)
  • OnTouchEnd<TControl>(control, action)
  • OnTouchMove<TControl>(control, action)
  • OnTouchStart<TControl>(control, action)
  • OnTrack<TControl>(control, action)
  • OnValidated<TControl>(control, action)
  • OnVisibleChanged<TControl>(control, action)
  • Padding<TControl>(control, padding)
  • Padding<TControl>(control, padding)
  • Parent<TControl>(control, parent)
  • RightToLeft<TControl>(control, rtl)
  • Selectable<TControl>(control, value)
  • Size<TControl>(control, size)
  • Size<TControl>(control, width, height)
  • TabIndex<TControl>(control, tabIndex)
  • TabStop<TControl>(control, tabStop)
  • Tag<TControl>(control, tag)
  • Text<TControl>(control, text)
  • ToBack<TControl>(control)
  • ToFront<TControl>(control)
  • Top<TControl>(control, top)
  • UserData<TControl>(control, name, value)
  • UseWaitCursor<TControl>(control, useWait)
  • Validating<TControl>(control, action)
  • Visible<TControl>(control, visible)
  • Width<TControl>(control, width)

Was this helpful?

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

ControlExtensions

Wisej.Web.Markup.ControlExtensions

Last updated 1 month ago

Was this helpful?

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.0.0.0)

Adds extension methods to the class.

public class ControlExtensions
Public Class ControlExtensions

Methods

AccessibleDescription<TControl>(control, accessibleDescription)

Sets the accessible description for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the accessible description.

accessibleDescription

The description to be set for accessibility purposes.

Returns: . The control with the updated accessible description.

AccessibleName<TControl>(control, accessibleName)

Sets the accessible name for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the accessible name.

accessibleName

The name to be set for accessibility purposes.

Sets the accessible role for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the accessible role.

accessibleRole

The role to be set for accessibility purposes.

Sets the AllowDrop property for the specified control, enabling or disabling drag-and-drop operations.

Parameter
Type
Description

TControl

control

The control for which to set the AllowDrop property.

allowDrop

A boolean value indicating whether to allow drag-and-drop operations. Default is false.

Executes a specified action on the control and returns the control.

Parameter
Type
Description

TControl

control

The control on which the action is to be performed.

action

The action to be executed on the control.

This method allows for chaining operations on a control by executing an action and returning the control itself.


myControl.Also(c => c.Text = "Updated Text").BackColor(Color.Red);

Sets the anchor styles for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the anchor styles.

anchors

The anchor styles to be applied to the control.

Parameter
Type
Description

TControl

control

value

Sets the auto-scroll offset for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the auto-scroll offset.

offset

The point representing the auto-scroll offset.

Sets the AutoSize property for the specified control, enabling or disabling automatic resizing.

Parameter
Type
Description

TControl

control

The control for which to set the AutoSize property.

autoSize

A boolean value indicating whether to enable automatic resizing. Default is false.

Sets the background color for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the background color.

color

The color to be set as the background color.

Sets the background image for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the background image.

image

The image to be set as the background image.

Sets the layout of the background image for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the background image layout.

layout

The layout to be applied to the background image.

Parameter
Type
Description

TControl

control

The control for which to set the bounds.

bounds

The rectangle representing the new bounds of the control.

Sets the top and left position of the specified control, maintaining its current width and height.

Parameter
Type
Description

TControl

control

The control for which to set the top and left position.

top

The new top position of the control.

left

The new left position of the control.

Sets the bounds of the specified control using specified top, left, width, and height values.

Parameter
Type
Description

TControl

control

The control for which to set the bounds.

top

The new top position of the control.

left

The new left position of the control.

width

The new width of the control.

height

The new height of the control.

Sets the capture property for the specified control, determining whether the control has captured the mouse.

Parameter
Type
Description

TControl

control

The control for which to set the capture property.

capture

A boolean value indicating whether the control should capture the mouse. Default is false.

Sets the CausesValidation property for the specified control, determining whether the control causes validation to be performed on any controls that require validation.

Parameter
Type
Description

TControl

control

The control for which to set the CausesValidation property.

causesValidation

A boolean value indicating whether the control causes validation. Default is true.

Sets the client size for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the client size.

clientSize

The size to be set as the client size of the control.

Sets the context menu for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the context menu.

contextMenu

The context menu to be associated with the control.

Adds an array of child controls to the specified control.

Parameter
Type
Description

TControl

control

The control to which the child controls will be added.

children

An array of child controls to be added.


myControl.Controls(new Button(), new TextBox());

Sets the cursor for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the cursor.

cursor

The cursor to be used by the control.

Sets the dock style for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the dock style.

dockPosition

The dock style to be applied to the control.

Sets the enabled state for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the enabled state.

enabled

A boolean value indicating whether the control should be enabled. Default is true.

Parameter
Type
Description

TControl

control

value

Sets the font for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the font.

font

The font to be applied to the control.

Sets the font size for the specified control while maintaining the current font family.

Parameter
Type
Description

TControl

control

The control for which to set the font size.

size

The new font size to be applied to the control.

Sets the foreground color for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the foreground color.

foreColor

The color to be set as the foreground color.

Sets the height for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the height.

height

The new height to be applied to the control.

Attaches an action to be executed when the control loses focus.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control loses focus.

This method allows you to specify an action that will be executed when the control's Leave event is triggered.


myControl.Leave(c => AlertBox.Show($"{c.Name} lost focus"));

Sets the left position for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the left position.

left

The new left position to be applied to the control.

Sets the location for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the location.

location

The point representing the new location of the control.

Sets the location for the specified control using left and top coordinates.

Parameter
Type
Description

TControl

control

The control for which to set the location.

left

The new left position of the control.

top

The new top position of the control.

Parameter
Type
Description

TControl

control

The control for which to set the margin.

margin

The padding to be set as the margin of the control.

Sets the margin for the specified control using an array of integers.

Parameter
Type
Description

TControl

control

The control for which to set the margin.

padding

An array of integers representing the margin. Must be 1 (all), 2 (horizontal, vertical), or 4 (left, top, right, bottom).

This method allows setting the margin using different configurations of padding values.


myControl.Margin(5); // All sides
myControl.Margin(5, 10); // Horizontal and vertical
myControl.Margin(5, 10, 15, 20); // Left, top, right, bottom

Throws:

Parameter
Type
Description

TControl

control

The control for which to set the maximum size.

size

The size to be set as the maximum size of the control.

Sets the maximum size for the specified control using width and height values.

Parameter
Type
Description

TControl

control

The control for which to set the maximum size.

width

The maximum width of the control.

height

The maximum height of the control.

Parameter
Type
Description

TControl

control

The control for which to set the minimum size.

size

The size to be set as the minimum size of the control.

Sets the minimum size for the specified control using width and height values.

Parameter
Type
Description

TControl

control

The control for which to set the minimum size.

width

The minimum width of the control.

height

The minimum height of the control.

Sets the name for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the name.

name

The name to be assigned to the control.

Attaches an action to be executed when the AutoSize property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the AutoSize property changes.

This method allows you to specify an action that will be executed when the control's AutoSizeChanged event is triggered.


myControl.OnAutoSizeChanged(c => AlertBox.Show($"{c.Name} AutoSize changed"));

Attaches an action to be executed when the BackColor property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the BackColor property changes.

This method allows you to specify an action that will be executed when the control's BackColorChanged event is triggered.


myControl.OnBackColorChanged(c => AlertBox.Show($"{c.Name} BackColor changed"));

Attaches an action to be executed when the BackgroundImage property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the BackgroundImage property changes.

This method allows you to specify an action that will be executed when the control's BackgroundImageChanged event is triggered.


myControl.OnBackgroundImageChanged(c => AlertBox.Show($"{c.Name} BackgroundImage changed"));

Attaches an action to be executed when the BackgroundImageLayout property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the BackgroundImageLayout property changes.

This method allows you to specify an action that will be executed when the control's BackgroundImageLayoutChanged event is triggered.


myControl.OnBackgroundImageLayoutChanged(c => AlertBox.Show($"{c.Name} BackgroundImageLayout changed"));

Attaches an action to be executed when the BindingContext property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the BindingContext property changes.

This method allows you to specify an action that will be executed when the control's BindingContextChanged event is triggered.


myControl.OnBindingContextChanged(c => AlertBox.Show($"{c.Name} BindingContext changed"));

Attaches an action to be executed when the CausesValidation property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the CausesValidation property changes.

This method allows you to specify an action that will be executed when the control's CausesValidationChanged event is triggered.


myControl.OnCausesValidationChanged(c => AlertBox.Show($"{c.Name} CausesValidation changed"));

Attaches an action to be executed when the control is clicked.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is clicked.

This method allows you to specify an action that will be executed when the control's Click event is triggered.


myControl.OnClick(c => AlertBox.Show($"{c.Name} was clicked"));

Attaches an action to be executed when the ClientSize property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the ClientSize property changes.

This method allows you to specify an action that will be executed when the control's ClientSizeChanged event is triggered.


myControl.OnClientSizeChanged(c => AlertBox.Show($"{c.Name} ClientSize changed"));

Attaches an action to be executed when the ContextMenu property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the ContextMenu property changes.

This method allows you to specify an action that will be executed when the control's ContextMenuChanged event is triggered.


myControl.OnContextMenuChanged(c => AlertBox.Show($"{c.Name} ContextMenu changed"));

Attaches an action to be executed when a control is added to the control's collection.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a control is added, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's ControlAdded event is triggered.


myControl.OnControlAdded((c, args) => AlertBox.Show($"{args.Control.Name} was added to {c.Name}"));

Attaches an action to be executed when a control is removed from the control's collection.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a control is removed, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's ControlRemoved event is triggered.


myControl.OnControlRemoved((c, args) => AlertBox.Show($"{args.Control.Name} was removed from {c.Name}"));

Attaches an action to be executed when the Cursor property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Cursor property changes.

This method allows you to specify an action that will be executed when the control's CursorChanged event is triggered.


myControl.OnCursorChanged(c => AlertBox.Show($"{c.Name} Cursor changed"));

Attaches an action to be executed when the Dock property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Dock property changes.

This method allows you to specify an action that will be executed when the control's DockChanged event is triggered.


myControl.OnDockChanged(c => AlertBox.Show($"{c.Name} Dock changed"));

Attaches an action to be executed when the control is double-clicked.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is double-clicked.

This method allows you to specify an action that will be executed when the control's DoubleClick event is triggered.


myControl.OnDoubleClick(c => AlertBox.Show($"{c.Name} was double-clicked"));

Attaches an action to be executed when a drag-and-drop operation is completed on the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a drag-and-drop operation is completed, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's DragDrop event is triggered.


myControl.OnDragDrop((c, args) => AlertBox.Show($"{c.Name} received a drag drop"));

Attaches an action to be executed when an object is dragged into the control's bounds.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when an object is dragged into the control, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's DragEnter event is triggered.


myControl.OnDragEnter((c, args) => AlertBox.Show($"{c.Name} drag enter"));

Attaches an action to be executed when an object is dragged out of the control's bounds.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when an object is dragged out of the control.

This method allows you to specify an action that will be executed when the control's DragLeave event is triggered.


myControl.OnDragLeave(c => AlertBox.Show($"{c.Name} drag leave"));

Attaches an action to be executed when an object is dragged over the control's bounds.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when an object is dragged over the control, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's DragOver event is triggered.


myControl.OnDragOver((c, args) => AlertBox.Show($"{c.Name} drag over"));

Attaches an action to be executed when the Enabled property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Enabled property changes.

This method allows you to specify an action that will be executed when the control's EnabledChanged event is triggered.


myControl.OnEnabledChanged(c => AlertBox.Show($"{c.Name} Enabled changed"));

Attaches an action to be executed when the control receives focus.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control receives focus.

This method allows you to specify an action that will be executed when the control's Enter event is triggered.


myControl.OnEnter(c => AlertBox.Show($"{c.Name} received focus"));

Attaches an action to be executed when the Font property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Font property changes.

This method allows you to specify an action that will be executed when the control's FontChanged event is triggered.


myControl.OnFontChanged(c => AlertBox.Show($"{c.Name} Font changed"));

Attaches an action to be executed when the ForeColor property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the ForeColor property changes.

This method allows you to specify an action that will be executed when the control's ForeColorChanged event is triggered.


myControl.OnForeColorChanged(c => AlertBox.Show($"{c.Name} ForeColor changed"));

Attaches an action to be executed when the control receives focus.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control receives focus.

This method allows you to specify an action that will be executed when the control's GotFocus event is triggered.


myControl.OnGotFocus(c => AlertBox.Show($"{c.Name} got focus"));

Attaches an action to be executed when the control's handle is created.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control's handle is created.

This method allows you to specify an action that will be executed when the control's HandleCreated event is triggered.


myControl.OnHandleCreated(c => AlertBox.Show($"{c.Name} handle created"));

Attaches an action to be executed when the control's handle is destroyed.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control's handle is destroyed.

This method allows you to specify an action that will be executed when the control's HandleDestroyed event is triggered.


myControl.OnHandleDestroyed(c => AlertBox.Show($"{c.Name} handle destroyed"));

Attaches an action to be executed when a help request is made for the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a help request is made, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's HelpRequested event is triggered.


myControl.OnHelpRequested((c, args) => AlertBox.Show($"{c.Name} help requested"));

Attaches an action to be executed when a key is pressed while the control has focus.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a key is pressed, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's KeyDown event is triggered.


myControl.OnKeyDown((c, args) => AlertBox.Show($"{c.Name} key down: {args.KeyCode}"));

Attaches an action to be executed when a key is pressed and released while the control has focus.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a key is pressed and released, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's KeyPress event is triggered.


myControl.OnKeyPress((c, args) => AlertBox.Show($"{c.Name} key press: {args.KeyChar}"));

Attaches an action to be executed when a key is released while the control has focus.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a key is released, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's KeyUp event is triggered.


myControl.OnKeyUp((c, args) => AlertBox.Show($"{c.Name} key up: {args.KeyCode}"));

Attaches an action to be executed when the layout of the control is changed.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the layout changes, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's Layout event is triggered.


myControl.OnLayout((c, args) => AlertBox.Show($"{c.Name} layout changed"));

Attaches an action to be executed when the Location property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Location property changes.

This method allows you to specify an action that will be executed when the control's LocationChanged event is triggered.


myControl.OnLocationChanged(c => AlertBox.Show($"{c.Name} location changed"));

Attaches an action to be executed when the control loses focus.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control loses focus.

This method allows you to specify an action that will be executed when the control's LostFocus event is triggered.


myControl.OnLostFocus(c => AlertBox.Show($"{c.Name} lost focus"));

Attaches an action to be executed when the Margin property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Margin property changes.

This method allows you to specify an action that will be executed when the control's MarginChanged event is triggered.


myControl.OnMarginChanged(c => AlertBox.Show($"{c.Name} margin changed"));

Attaches an action to be executed when the mouse capture changes for the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the mouse capture changes.

This method allows you to specify an action that will be executed when the control's MouseCaptureChanged event is triggered.


myControl.OnMouseCaptureChanged(c => AlertBox.Show($"{c.Name} mouse capture changed"));

Attaches an action to be executed when the control is clicked with the mouse.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is clicked, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's MouseClick event is triggered.


myControl.OnMouseClick((c, args) => AlertBox.Show($"{c.Name} mouse click at {args.Location}"));

Attaches an action to be executed when the control is double-clicked with the mouse.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is double-clicked, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's MouseDoubleClick event is triggered.


myControl.OnMouseDoubleClick((c, args) => AlertBox.Show($"{c.Name} mouse double-click at {args.Location}"));

Attaches an action to be executed when a mouse button is pressed while the pointer is over the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a mouse button is pressed, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's MouseDown event is triggered.


myControl.OnMouseDown((c, args) => AlertBox.Show($"{c.Name} mouse down at {args.Location}"));

Attaches an action to be executed when the mouse pointer enters the control's bounds.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the mouse pointer enters the control.

This method allows you to specify an action that will be executed when the control's MouseEnter event is triggered.


myControl.OnMouseEnter(c => AlertBox.Show($"{c.Name} mouse entered"));

Attaches an action to be executed when the mouse pointer hovers over the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the mouse pointer hovers over the control.

This method allows you to specify an action that will be executed when the control's MouseHover event is triggered.


myControl.OnMouseHover(c => AlertBox.Show($"{c.Name} mouse hover"));

Attaches an action to be executed when the mouse pointer leaves the control's bounds.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the mouse pointer leaves the control.

This method allows you to specify an action that will be executed when the control's MouseLeave event is triggered.


myControl.OnMouseLeave(c => AlertBox.Show($"{c.Name} mouse left"));

Attaches an action to be executed when the mouse pointer moves over the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the mouse pointer moves, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's MouseMove event is triggered.


myControl.OnMouseMove((c, args) => AlertBox.Show($"{c.Name} mouse move at {args.Location}"));

Attaches an action to be executed when a mouse button is released while the pointer is over the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a mouse button is released, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's MouseUp event is triggered.


myControl.OnMouseUp((c, args) => AlertBox.Show($"{c.Name} mouse up at {args.Location}"));

Attaches an action to be executed when the mouse wheel is rotated while the pointer is over the control.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the mouse wheel is rotated, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's MouseWheel event is triggered.


myControl.OnMouseWheel((c, args) => AlertBox.Show($"{c.Name} mouse wheel moved"));

Attaches an action to be executed when the control is moved.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is moved.

This method allows you to specify an action that will be executed when the control's Move event is triggered.


myControl.OnMove(c => AlertBox.Show($"{c.Name} moved"));

Attaches an action to be executed when the Padding property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Padding property changes.

This method allows you to specify an action that will be executed when the control's PaddingChanged event is triggered.


myControl.OnPaddingChanged(c => AlertBox.Show($"{c.Name} padding changed"));

Attaches an action to be executed when the control is repainted.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is repainted, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's Paint event is triggered.


myControl.OnPaint((c, args) => AlertBox.Show($"{c.Name} is being painted"));

Attaches an action to be executed when the Parent property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Parent property changes.

This method allows you to specify an action that will be executed when the control's ParentChanged event is triggered.


myControl.OnParentChanged(c => AlertBox.Show($"{c.Name} parent changed"));

Attaches an action to be executed when a key is pressed while the control has focus, before the key event is processed.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when a key is pressed, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's PreviewKeyDown event is triggered.


myControl.OnPreviewKeyDown((c, args) => AlertBox.Show($"{c.Name} preview key down: {args.KeyCode}"));

Attaches an action to be executed during a drag-and-drop operation to determine whether the drag should continue.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed during the drag operation, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's QueryContinueDrag event is triggered.


myControl.OnQueryContinueDrag((c, args) => AlertBox.Show($"{c.Name} query continue drag"));

Attaches an action to be executed when the control is resized.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is resized.

This method allows you to specify an action that will be executed when the control's Resize event is triggered.


myControl.OnResize(c => AlertBox.Show($"{c.Name} resized"));

Attaches an action to be executed when the RightToLeft property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the RightToLeft property changes.

This method allows you to specify an action that will be executed when the control's RightToLeftChanged event is triggered.


myControl.ONRightToLeftChanged(c => AlertBox.Show($"{c.Name} RightToLeft changed"));

Attaches an action to be executed when the Size property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Size property changes.

This method allows you to specify an action that will be executed when the control's SizeChanged event is triggered.


myControl.OnSizeChanged(c => AlertBox.Show($"{c.Name} size changed"));

Attaches an action to be executed when the style of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the style changes.

This method allows you to specify an action that will be executed when the control's StyleChanged event is triggered.


myControl.OnStyleChanged(c => AlertBox.Show($"{c.Name} style changed"));
Parameter
Type
Description

TControl

control

The control on which to register the event handler.

action

The action to perform when the swipe event occurs.

This method allows you to easily attach a swipe event handler to a control.


myControl.OnSwipe((ctrl, args) => { /* Handle swipe */ });

Attaches an action to be executed when the TabIndex property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the TabIndex property changes.

This method allows you to specify an action that will be executed when the control's TabIndexChanged event is triggered.


myControl.OnTabIndexChanged(c => AlertBox.Show($"{c.Name} tab index changed"));

Attaches an action to be executed when the TabStop property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the TabStop property changes.

This method allows you to specify an action that will be executed when the control's TabStopChanged event is triggered.


myControl.OnTabStopChanged(c => AlertBox.Show($"{c.Name} TabStop changed"));

Attaches an action to be executed when the Text property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Text property changes.

This method allows you to specify an action that will be executed when the control's TextChanged event is triggered.


myControl.OnTextChanged(c => AlertBox.Show($"{c.Name} text changed"));
Parameter
Type
Description

TControl

control

The control on which to register the event handler.

action

The action to perform when the touch cancel event occurs.

This method allows you to easily attach a touch cancel event handler to a control.


myControl.OnTouchCancel((ctrl, args) => { /* Handle touch cancel */ });
Parameter
Type
Description

TControl

control

The control on which to register the event handler.

action

The action to perform when the touch end event occurs.

This method allows you to easily attach a touch end event handler to a control.


myControl.OnTouchEnd((ctrl, args) => { /* Handle touch end */ });
Parameter
Type
Description

TControl

control

The control on which to register the event handler.

action

The action to perform when the touch move event occurs.

This method allows you to easily attach a touch move event handler to a control.


myControl.OnTouchMove((ctrl, args) => { /* Handle touch move */ });
Parameter
Type
Description

TControl

control

The control on which to register the event handler.

action

The action to perform when the touch start event occurs.

This method allows you to easily attach a touch start event handler to a control.


myControl.OnTouchStart((ctrl, args) => { /* Handle touch start */ });
Parameter
Type
Description

TControl

control

The control on which to register the event handler.

action

The action to perform when the track event occurs.

This method allows you to easily attach a track event handler to a control.


myControl.OnTrack((ctrl, args) => { /* Handle track */ });

Attaches an action to be executed when the control is successfully validated.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the control is validated.

This method allows you to specify an action that will be executed when the control's Validated event is triggered.


myControl.OnValidated(c => AlertBox.Show($"{c.Name} validated"));

Attaches an action to be executed when the Visible property of the control changes.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed when the Visible property changes.

This method allows you to specify an action that will be executed when the control's VisibleChanged event is triggered.


myControl.OnVisibleChanged(c => AlertBox.Show($"{c.Name} visibility changed"));

Sets the padding for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the padding.

padding

The padding to be applied to the control.

Sets the padding for the specified control using an array of integers.

Parameter
Type
Description

TControl

control

The control for which to set the padding.

padding

An array of integers representing the padding. Must be 1 (all), 2 (horizontal, vertical), or 4 (left, top, right, bottom).

This method allows setting the padding using different configurations of padding values.


myControl.Padding(5); // All sides
myControl.Padding(5, 10); // Horizontal and vertical
myControl.Padding(5, 10, 15, 20); // Left, top, right, bottom

Throws:

Sets the parent control for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the parent.

parent

The parent control to be assigned.

Sets the RightToLeft property for the specified control, determining the direction of text and layout.

Parameter
Type
Description

TControl

control

The control for which to set the RightToLeft property.

rtl

The RightToLeft value to be applied to the control.

Parameter
Type
Description

TControl

control

value

Parameter
Type
Description

TControl

control

The control for which to set the size.

size

The size to be applied to the control.

Sets the size for the specified control using width and height values.

Parameter
Type
Description

TControl

control

The control for which to set the size.

width

The width of the control.

height

The height of the control.

Sets the tab index for the specified control, determining the order of focus when navigating with the Tab key.

Parameter
Type
Description

TControl

control

The control for which to set the tab index.

tabIndex

The tab index to be assigned to the control.

Sets the TabStop property for the specified control, determining whether the control is included in the tab order.

Parameter
Type
Description

TControl

control

The control for which to set the TabStop property.

tabStop

A boolean value indicating whether the control is included in the tab order. Default is true.

Sets the tag for the specified control, allowing for the storage of additional data.

Parameter
Type
Description

TControl

control

The control for which to set the tag.

tag

The object to be stored as the tag.

Sets the text for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the text.

text

The text to be displayed by the control.

Sends the control to the back of the z-order.

Parameter
Type
Description

TControl

control

The control to be sent to the back.

If the control does not have a parent at the time of invocation, it will be sent to the back once a parent is assigned.


myControl.ToBack();

Brings the control to the front of the z-order.

Parameter
Type
Description

TControl

control

The control to be brought to the front.

If the control does not have a parent at the time of invocation, it will be brought to the front once a parent is assigned.


myControl.ToFront();

Sets the top position for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the top position.

top

The new top position to be applied to the control.

Sets user-defined data for the specified control using a key-value pair.

Parameter
Type
Description

TControl

control

The control for which to set the user data.

name

The key for the user data.

value

The value to be associated with the key.

This method allows you to store custom data associated with the control using a dictionary-like structure.

Sets the UseWaitCursor property for the specified control, determining whether to use the wait cursor for the control and its children.

Parameter
Type
Description

TControl

control

The control for which to set the UseWaitCursor property.

useWait

A boolean value indicating whether to use the wait cursor. Default is false.

Attaches an action to be executed during the Validating event of the control, allowing for custom validation logic.

Parameter
Type
Description

TControl

control

The control to which the action will be attached.

action

The action to be executed during validation, with the event arguments provided.

This method allows you to specify an action that will be executed when the control's Validating event is triggered.


myControl.Validating((c, args) => AlertBox.Show($"{c.Name} is validating"));

Sets the visibility of the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the visibility.

visible

A boolean value indicating whether the control should be visible. Default is true.

Sets the width for the specified control.

Parameter
Type
Description

TControl

control

The control for which to set the width.

width

The new width to be applied to the control.

The type of the control, which must inherit from .

The type of the control, which must inherit from .

Returns: . The control with the updated accessible name.

AccessibleRole<TControl>(control, accessibleRole)

The type of the control, which must inherit from .

Returns: . The control with the updated accessible role.

AllowDrop<TControl>(control, allowDrop)

The type of the control, which must inherit from .

Returns: . The control with the updated AllowDrop property.

Also<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control after the action has been executed.

Anchor<TControl>(control, anchors)

The type of the control, which must inherit from .

Returns: . The control with the updated anchor styles.

Anonymous<TControl>(control, value)

Returns: .

AutoScrollOffset<TControl>(control, offset)

The type of the control, which must inherit from .

Returns: . The control with the updated auto-scroll offset.

AutoSize<TControl>(control, autoSize)

The type of the control, which must inherit from .

Returns: . The control with the updated AutoSize property.

BackColor<TControl>(control, color)

The type of the control, which must inherit from .

Returns: . The control with the updated background color.

BackgroundImage<TControl>(control, image)

The type of the control, which must inherit from .

Returns: . The control with the updated background image.

BackgroundImageLayout<TControl>(control, layout)

The type of the control, which must inherit from .

Returns: . The control with the updated background image layout.

Bounds<TControl>(control, bounds)

Sets the bounds of the specified control using a .

The type of the control, which must inherit from .

Returns: . The control with the updated bounds.

Bounds<TControl>(control, top, left)

The type of the control, which must inherit from .

Returns: . The control with the updated top and left position.

Bounds<TControl>(control, top, left, width, height)

The type of the control, which must inherit from .

Returns: . The control with the updated bounds.

Capture<TControl>(control, capture)

The type of the control, which must inherit from .

Returns: . The control with the updated capture property.

CausesValidation<TControl>(control, causesValidation)

The type of the control, which must inherit from .

Returns: . The control with the updated CausesValidation property.

ClientSize<TControl>(control, clientSize)

The type of the control, which must inherit from .

Returns: . The control with the updated client size.

ContextMenu<TControl>(control, contextMenu)

The type of the control, which must inherit from .

Returns: . The control with the updated context menu.

Controls<TControl>(control, children)

The type of the control, which must inherit from .

Returns: . The control with the added child controls.

This method suspends the layout of the control, adds the child controls, and then resumes the layout. Controls with are brought to the front.

Cursor<TControl>(control, cursor)

The type of the control, which must inherit from .

Returns: . The control with the updated cursor.

Dock<TControl>(control, dockPosition)

The type of the control, which must inherit from .

Returns: . The control with the updated dock style.

Enabled<TControl>(control, enabled)

The type of the control, which must inherit from .

Returns: . The control with the updated enabled state.

Focusable<TControl>(control, value)

Returns: .

Font<TControl>(control, font)

The type of the control, which must inherit from .

Returns: . The control with the updated font.

FontSize<TControl>(control, size)

The type of the control, which must inherit from .

Returns: . The control with the updated font size.

ForeColor<TControl>(control, foreColor)

The type of the control, which must inherit from .

Returns: . The control with the updated foreground color.

Height<TControl>(control, height)

The type of the control, which must inherit from .

Returns: . The control with the updated height.

Leave<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached leave event action.

Left<TControl>(control, left)

The type of the control, which must inherit from .

Returns: . The control with the updated left position.

Location<TControl>(control, location)

The type of the control, which must inherit from .

Returns: . The control with the updated location.

Location<TControl>(control, left, top)

The type of the control, which must inherit from .

Returns: . The control with the updated location.

Margin<TControl>(control, margin)

Sets the margin for the specified control using a object.

The type of the control, which must inherit from .

Returns: . The control with the updated margin.

Margin<TControl>(control, padding)

The type of the control, which must inherit from .

Returns: . The control with the updated margin.

Thrown when the padding array is null.

Thrown when the padding array length is not 1, 2, or 4.

MaximumSize<TControl>(control, size)

Sets the maximum size for the specified control using a object.

The type of the control, which must inherit from .

Returns: . The control with the updated maximum size.

MaximumSize<TControl>(control, width, height)

The type of the control, which must inherit from .

Returns: . The control with the updated maximum size.

MinimumSize<TControl>(control, size)

Sets the minimum size for the specified control using a object.

The type of the control, which must inherit from .

Returns: . The control with the updated minimum size.

MinimumSize<TControl>(control, width, height)

The type of the control, which must inherit from .

Returns: . The control with the updated minimum size.

Name<TControl>(control, name)

The type of the control, which must inherit from .

Returns: . The control with the updated name.

OnAutoSizeChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached AutoSizeChanged event action.

OnBackColorChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached BackColorChanged event action.

OnBackgroundImageChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached BackgroundImageChanged event action.

OnBackgroundImageLayoutChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached BackgroundImageLayoutChanged event action.

OnBindingContextChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached BindingContextChanged event action.

OnCausesValidationChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached CausesValidationChanged event action.

OnClick<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Click event action.

OnClientSizeChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached ClientSizeChanged event action.

OnContextMenuChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached ContextMenuChanged event action.

OnControlAdded<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached ControlAdded event action.

OnControlRemoved<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached ControlRemoved event action.

OnCursorChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached CursorChanged event action.

OnDockChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached DockChanged event action.

OnDoubleClick<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached DoubleClick event action.

OnDragDrop<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached DragDrop event action.

OnDragEnter<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached DragEnter event action.

OnDragLeave<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached DragLeave event action.

OnDragOver<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached DragOver event action.

OnEnabledChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached EnabledChanged event action.

OnEnter<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Enter event action.

OnFontChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached FontChanged event action.

OnForeColorChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached ForeColorChanged event action.

OnGotFocus<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached GotFocus event action.

OnHandleCreated<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached HandleCreated event action.

OnHandleDestroyed<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached HandleDestroyed event action.

OnHelpRequested<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached HelpRequested event action.

OnKeyDown<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached KeyDown event action.

OnKeyPress<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached KeyPress event action.

OnKeyUp<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached KeyUp event action.

OnLayout<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Layout event action.

OnLocationChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached LocationChanged event action.

OnLostFocus<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached LostFocus event action.

OnMarginChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MarginChanged event action.

OnMouseCaptureChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseCaptureChanged event action.

OnMouseClick<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseClick event action.

OnMouseDoubleClick<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseDoubleClick event action.

OnMouseDown<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseDown event action.

OnMouseEnter<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseEnter event action.

OnMouseHover<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseHover event action.

OnMouseLeave<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseLeave event action.

OnMouseMove<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseMove event action.

OnMouseUp<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseUp event action.

OnMouseWheel<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached MouseWheel event action.

OnMove<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Move event action.

OnPaddingChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached PaddingChanged event action.

OnPaint<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Paint event action.

OnParentChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached ParentChanged event action.

OnPreviewKeyDown<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached PreviewKeyDown event action.

OnQueryContinueDrag<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached QueryContinueDrag event action.

OnResize<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Resize event action.

ONRightToLeftChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached RightToLeftChanged event action.

OnSizeChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached SizeChanged event action.

OnStyleChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached StyleChanged event action.

OnSwipe<TControl>(control, action)

Registers an action to be called when the event is raised.

The type of the control, which must inherit from .

Returns: . The control with the event handler registered.

OnTabIndexChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached TabIndexChanged event action.

OnTabStopChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached TabStopChanged event action.

OnTextChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached TextChanged event action.

OnTouchCancel<TControl>(control, action)

Registers an action to be called when the event is raised.

The type of the control, which must inherit from .

Returns: . The control with the event handler registered.

OnTouchEnd<TControl>(control, action)

Registers an action to be called when the event is raised.

The type of the control, which must inherit from .

Returns: . The control with the event handler registered.

OnTouchMove<TControl>(control, action)

Registers an action to be called when the event is raised.

The type of the control, which must inherit from .

Returns: . The control with the event handler registered.

OnTouchStart<TControl>(control, action)

Registers an action to be called when the event is raised.

The type of the control, which must inherit from .

Returns: . The control with the event handler registered.

OnTrack<TControl>(control, action)

Registers an action to be called when the event is raised.

The type of the control, which must inherit from .

Returns: . The control with the event handler registered.

OnValidated<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Validated event action.

OnVisibleChanged<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached VisibleChanged event action.

Padding<TControl>(control, padding)

The type of the control, which must inherit from .

Returns: . The control with the updated padding.

Padding<TControl>(control, padding)

The type of the control, which must inherit from .

Returns: . The control with the updated padding.

Thrown when the padding array is null.

Thrown when the padding array length is not 1, 2, or 4.

Parent<TControl>(control, parent)

The type of the control, which must inherit from .

Returns: . The control with the updated parent.

RightToLeft<TControl>(control, rtl)

The type of the control, which must inherit from .

Returns: . The control with the updated RightToLeft property.

Selectable<TControl>(control, value)

Returns: .

Size<TControl>(control, size)

Sets the size for the specified control using a object.

The type of the control, which must inherit from .

Returns: . The control with the updated size.

Size<TControl>(control, width, height)

The type of the control, which must inherit from .

Returns: . The control with the updated size.

TabIndex<TControl>(control, tabIndex)

The type of the control, which must inherit from .

Returns: . The control with the updated tab index.

TabStop<TControl>(control, tabStop)

The type of the control, which must inherit from .

Returns: . The control with the updated TabStop property.

Tag<TControl>(control, tag)

The type of the control, which must inherit from .

Returns: . The control with the updated tag.

Text<TControl>(control, text)

The type of the control, which must inherit from .

Returns: . The control with the updated text.

ToBack<TControl>(control)

The type of the control, which must inherit from .

Returns: . The control after being sent to the back.

ToFront<TControl>(control)

The type of the control, which must inherit from .

Returns: . The control after being brought to the front.

Top<TControl>(control, top)

The type of the control, which must inherit from .

Returns: . The control with the updated top position.

UserData<TControl>(control, name, value)

The type of the control, which must inherit from .

Returns: . The control with the updated user data.

UseWaitCursor<TControl>(control, useWait)

The type of the control, which must inherit from .

Returns: . The control with the updated UseWaitCursor property.

Validating<TControl>(control, action)

The type of the control, which must inherit from .

Returns: . The control with the attached Validating event action.

Visible<TControl>(control, visible)

The type of the control, which must inherit from .

Returns: . The control with the updated visibility.

Width<TControl>(control, width)

The type of the control, which must inherit from .

Returns: . The control with the updated width.

TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
Rectangle
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
Padding
TControl
TControl
ArgumentNullException
ArgumentException
Size
TControl
TControl
Size
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
ArgumentNullException
ArgumentException
TControl
TControl
TControl
Size
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
TControl
Control
TControl
String
Control
TControl
String
Control
TControl
AccessibleRole
Control
TControl
Boolean
Control
TControl
Action<TControl>
Control
TControl
AnchorStyles
TControl
Boolean
Control
TControl
Point
Control
TControl
Boolean
Control
TControl
Color
Control
TControl
Image
Control
TControl
ImageLayout
Control
TControl
Rectangle
Control
TControl
Int32
Int32
Control
TControl
Int32
Int32
Int32
Int32
Control
TControl
Boolean
Control
TControl
Boolean
Control
TControl
Size
Control
TControl
ContextMenu
Control
TControl
Control[]
Control
TControl
Cursor
Control
TControl
DockStyle
Control
TControl
Boolean
TControl
Boolean
Control
TControl
Font
Control
TControl
Int32
Control
TControl
Color
Control
TControl
Int32
Control
TControl
Action<TControl>
Control
TControl
Int32
Control
TControl
Point
Control
TControl
Int32
Int32
Control
TControl
Padding
Control
TControl
Int32[]
Control
TControl
Size
Control
TControl
Int32
Int32
Control
TControl
Size
Control
TControl
Int32
Int32
Control
TControl
String
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, ControlEventArgs>
Control
TControl
Action<TControl, ControlEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, DragEventArgs>
Control
TControl
Action<TControl, DragEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, DragEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, HelpEventArgs>
Control
TControl
Action<TControl, KeyEventArgs>
Control
TControl
Action<TControl, KeyPressEventArgs>
Control
TControl
Action<TControl, KeyEventArgs>
Control
TControl
Action<TControl, LayoutEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, MouseEventArgs>
Control
TControl
Action<TControl, MouseEventArgs>
Control
TControl
Action<TControl, MouseEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, MouseEventArgs>
Control
TControl
Action<TControl, MouseEventArgs>
Control
TControl
Action<TControl, MouseEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, PaintEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, PreviewKeyDownEventArgs>
Control
TControl
Action<TControl, QueryContinueDragEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, SwipeEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl, TouchEventArgs>
Control
TControl
Action<TControl, TouchEventArgs>
Control
TControl
Action<TControl, TouchEventArgs>
Control
TControl
Action<TControl, TouchEventArgs>
Control
TControl
Action<TControl, TrackEventArgs>
Control
TControl
Action<TControl>
Control
TControl
Action<TControl>
Control
TControl
Padding
Control
TControl
Int32[]
Control
TControl
Control
Control
TControl
RightToLeft
TControl
Boolean
Control
TControl
Size
Control
TControl
Int32
Int32
Control
TControl
Int32
Control
TControl
Boolean
Control
TControl
Object
Control
TControl
String
Control
TControl
Control
TControl
Control
TControl
Int32
Control
TControl
String
Object
Control
TControl
Boolean
Control
TControl
Action<TControl, CancelEventArgs>
Control
TControl
Boolean
Control
TControl
Int32
fluent markup
Control
TControl
Fill
Swipe
TouchCancel
TouchEnd
TouchMove
TouchStart
Track