For example, this allows us to invoke a method in a concrete instance, based on its control index, or invoke the same method to all of them (iteration). The override is for current rendering and alter base properties of the button.A Control Set is the feature to use when there are several instances in a Window’s layout and you need to command (or access them) from code, both for those available by default in the Framework and ones based on your own graphic classes. Overrides style attribute on the button right before rendering. This event is fired when the mouse button goes up. The coordinates are local to the control, not to the window. The mouse has moved within the control to the coordinates passed. The mouse has left the area of the control. The mouse has entered the area of the control. This event is fired when the mouse is dragged with the mouse button down on the control. The mouse button was pressed inside the checkbox or its text. The item represented by Obj has been dropped on the control.įires when the passed Key is released in the control that has the focus. This event is called when it is appropriate to display a contextual menu for the control.įires when a contextual menuitem selectedItem was selected but the MenuItemSelected event and the MenuHandler for the MenuItem did not handle the menu selection.įires when the passed DragItem enters the RectControl.įires when the passed DragItem exits the RectControl.įires when the DragItem is over the RectControl. The state on the CustomCheckbox has been changed either by code or user interaction. Sets or gets the checked value of the checkbox. The default is True: the control is visible. Sets or gets the checkbox value, true for checked, false for unchecked.ĭetermines whether the control is visible when its owning window is opened. If set to true then the button will attempt to use system focus color when possible, having fallback to the controls focus color. The top of the control in local coordinates (relative to the window). If set to true then the color style properties from the DM (DarkMode) named properties will be used when the system is in Darkmode. The property defines the minimum width the button may scale to. This property is to support components such as the FlowLayout. The property defines the maximum width the button may scale to. The left side of the control in local coordinates (relative to the window) (MacOS X and Linux systems are always double buffered by the OS it self) If set to true then the color defined in the DBBackColor property will be used as background color when in double buffer mode. (MacOS X and Linux systems are always double buffered by the OS it self)ĭetermines if the control should be enabled when the owning window is opened.Ĭolor for the focus on the switch button.Ĭonfigures how focus should be represented. Sets the buttons main body color when button is disabled.ĭoubleBuffers the drawing of the control on Windows systems. When system is in dark-mode and SeparateDarkModeStyle is set to true then If this property is set to true then the button will attempt to use system focus color when possible, having fallback to the controls focus color. Sets the body color of the button when button is disabled in dark mode if SeparateDarkModeStyle is set to true.Ĭolor for the focus on the button when button in dark mode if SeparateDarkModeStyle is set to true.Ĭolor of the button when it is off when system is in dark mode and SeparateDarkModeStyle property is set to true. Sets the body color of the button when button is down in dark mode if SeparateDarkModeStyle is set to true. Sets the body color of the button when button is pushed down.Ĭonfigures the shape of the button, Rounded or Rectangular.įills background with custom color when in double buffering mode. Sets the body color of the button when button is enabled. If set to true then the FlowLayout may resize the button. Label used by the macOS accessibility manager for various of disability settings and devices. Setting this to true activates focus support even if full keyboard access is not turned on in the system.F This property is for Mac only where focus is normally not active unless Full Keyboard access is on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |