Windows forms trackbar control




















Initializes a new instance of the TrackBar class. Gets the AccessibleObject assigned to the control. Gets or sets the default action description of the control for use by accessibility client applications.

Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. Gets or sets a value indicating whether the height or width of the track bar is being automatically sized.

Gets or sets the background image for the TrackBar control. Gets or sets an ImageLayout value; however, setting this property has no effect on the TrackBar control.

Gets or sets the background image layout as defined in the ImageLayout enumeration. Gets or sets the BindingContext for the control. Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.

Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. Gets a value indicating whether the ImeMode property can be set to an active value, to enable IME support.

Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus. Gets the IContainer that contains the Component. Gets a value indicating whether the control, or one of its child controls, currently has the input focus. Gets or sets the ContextMenuStrip associated with this control. Overrides the CreateParams property. Gets the length and height, in pixels, that is specified as the default maximum size of a control.

Gets the length and height, in pixels, that is specified as the default minimum size of a control. Gets the default size of the TrackBar. Gets a value that indicates whether the Component is currently in design mode. Gets a value indicating whether the base Control class is in the process of disposing. Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.

Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker; however, this property has no effect on the TrackBar control. Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker. Gets the list of event handlers that are attached to this Component.

Overrides Font. Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.

Indicates if one of the Ancestors of this control is sited and that site in DesignMode. This property is read-only. Gets or sets a value to be added to or subtracted from the Value property when the scroll box is moved a large distance.

Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area. Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. Gets or sets the upper limit of the range this TrackBar is working with. Gets or sets the size that is the upper limit that GetPreferredSize Size can specify.

Gets or sets the lower limit of the range this TrackBar is working with. Gets or sets the size that is the lower limit that GetPreferredSize Size can specify.

Gets or sets the space between the edges of a TrackBar control and its contents. Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

Gets or sets a value indicating whether the contents of the TrackBar will be laid out from right to left. Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators. Gets or sets the value added to or subtracted from the Value property when the scroll box is moved a small distance. Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.

Gets or sets the text of the TrackBar. Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area. Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.

Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. Gets or sets a numeric value that represents the current position of the scroll box on the track bar. Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control. Begins the initialization of a TrackBar that is used on a form or used by another component. The initialization occurs at run time.

Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on. Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on. Forces the creation of the visible control, including the creation of the handle and any visible child controls. Creates the Graphics for the control. Overrides the CreateHandle method.

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Releases all resources used by the Component. Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources. Ends the initialization of a TrackBar that is used on a form or used by another component. Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.

Retrieves the specified AccessibleObject. Retrieves a value indicating how a control will behave when its AutoSize property is enabled. Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type. Returns the next ContainerControl up the control's chain of parent controls. Retrieves the current lifetime service object that controls the lifetime policy for this instance. Returns an object that represents a service provided by the Component or by its Container.

Gets the Type of the current instance. Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. Invalidates the specified region of the control adds it to the control's update region, which is the area that will be repainted at the next paint operation , and causes a paint message to be sent to the control. Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.

Raises the GotFocus event for the specified control. Raises the LostFocus event for the specified control. Raises the Click event for the specified control. Raises the Paint event for the specified control. Raises the PaintBackground event for the specified control.

Determines whether the specified key is a regular input key or a special key that requires preprocessing. Transforms a size from logical to device units by scaling it for the current DPI and rounding down to the nearest integer value for width and height.

Creates a shallow copy of the current Object. Creates a shallow copy of the current MarshalByRefObject object. Raises the Invalidated event with a specified region of the control to invalidate. Raises the AutoSizeChanged event. Raises the BackColorChanged event. Raises the BackgroundImageChanged event. Raises the BackgroundImageLayoutChanged event. Raises the BindingContextChanged event. Raises the CausesValidationChanged event. Raises the ChangeUICues event. Raises the Click event.

Raises the ClientSizeChanged event. Raises the ContextMenuChanged event. Raises the ContextMenuStripChanged event. Raises the ControlAdded event. Raises the ControlRemoved event. Raises the CreateControl method. Raises the CursorChanged event. Raises the DockChanged event. Raises the DoubleClick event. Raises the DpiChangedAfterParent event. Raises the DpiChangedBeforeParent event. Raises the DragDrop event. Raises the DragEnter event.

Raises the DragLeave event. Raises the DragOver event. Raises the EnabledChanged event. Raises the Enter event. Raises the FontChanged event. Raises the ForeColorChanged event. Raises the GiveFeedback event. Raises the GotFocus event. Raises the HandleDestroyed event. Raises the HelpRequested event. Raises the ImeModeChanged event.

Raises the Invalidated event. Raises the KeyDown event. Raises the KeyPress event. Raises the KeyUp event. Raises the Layout event.

Raises the Leave event. Raises the LocationChanged event. Raises the LostFocus event. Raises the MarginChanged event.

Raises the MouseCaptureChanged event. Raises the MouseClick event. Raises the MouseDoubleClick event. Raises the MouseDown event. Raises the MouseEnter event. Raises the MouseHover event. Raises the MouseLeave event. Raises the MouseMove event.

Raises the MouseUp event. Raises the MouseWheel event. Raises the Move event. Raises the PaddingChanged event. Raises the Paint event. Raises the BackColorChanged event when the BackColor property value of the control's container changes.

Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.

Raises the ParentChanged event. Raises the EnabledChanged event when the Enabled property value of the control's container changes. Raises the FontChanged event when the Font property value of the control's container changes. Raises the ForeColorChanged event when the ForeColor property value of the control's container changes. Raises the VisibleChanged event when the Visible property value of the control's container changes. Raises the PreviewKeyDown event. Raises the QueryContinueDrag event.

Raises the RegionChanged event. Raises the Resize event. Raises the RightToLeftChanged event. Raises the Scroll event. Raises the SizeChanged event. Raises the StyleChanged event. Raises the SystemColorsChanged event. Raises the TabIndexChanged event. Raises the TabStopChanged event. Raises the TextChanged event. Raises the Validated event. Raises the Validating event. Raises the ValueChanged event. Raises the VisibleChanged event. Forces the control to invalidate its client area and immediately redraw itself and any child controls.

Resets the BackColor property to its default value. Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values. Resets the Cursor property to its default value. Resets the Font property to its default value.

Resets the ForeColor property to its default value. Take a look at our next generation Bold Reporting Tools. Learn more. Suggest a Feature. Assembly deployment Refer to the control dependencies section to get the list of assemblies or details of NuGet package that needs to be added as a reference to use the control in any application. The following dependent assemblies will be added automatically: Syncfusion. Base Syncfusion. The TrackBar control has two parts: the thumb, also known as a slider, and the tick marks.

The thumb is the part that can be adjusted. Its position corresponds to the Value property. The tick marks are visual indicators that are spaced at regular intervals. The track bar moves in increments that you specify and can be aligned horizontally or vertically. An example use of a track bar would be for setting cursor blink rate or mouse speed. TrackBar Control Overview Introduces the general concepts of the TrackBar control, which allows users to navigate through information by visually adjusting a numeric setting.



0コメント

  • 1000 / 1000