点击或拖拽改变大小

UIButton 方法

Sweet 开发框架

UIButton 类型公开以下成员。

方法
  名称说明
受保护的方法AccessibilityNotifyClients(AccessibleEvents, Int32) (继承自 Control。)
受保护的方法AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) (继承自 Control。)
公共方法BeginInvoke(Delegate) (继承自 Control。)
公共方法BeginInvoke(Delegate, Object) (继承自 Control。)
公共方法BringToFront (继承自 Control。)
公共方法Contains (继承自 Control。)
受保护的方法CreateAccessibilityInstance (继承自 Control。)
公共方法CreateControl (继承自 Control。)
受保护的方法CreateControlsInstance (继承自 Control。)
公共方法CreateGraphics (继承自 Control。)
受保护的方法CreateHandle (继承自 Control。)
公共方法CreateObjRef (继承自 MarshalByRefObject。)
受保护的方法DefWndProc (继承自 Control。)
受保护的方法DestroyHandle (继承自 Control。)
公共方法Dispose (继承自 Component。)
受保护的方法Dispose(Boolean) (重写 ControlDispose(Boolean).)
公共方法DoDragDrop (继承自 Control。)
公共方法DrawToBitmap (继承自 Control。)
公共方法EndInvoke (继承自 Control。)
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Component。)
公共方法FindForm (继承自 Control。)
公共方法Focus (继承自 Control。)
受保护的方法GetAccessibilityObjectById (继承自 Control。)
受保护的方法GetAutoSizeMode (继承自 Control。)
公共方法GetChildAtPoint(Point) (继承自 Control。)
公共方法GetChildAtPoint(Point, GetChildAtPointSkip) (继承自 Control。)
公共方法GetContainerControl (继承自 Control。)
受保护的方法GetFillColor
获取填充颜色
(继承自 UIControl。)
受保护的方法GetForeColor
获取字体颜色
(继承自 UIControl。)
公共方法GetHashCode (继承自 Object。)
公共方法GetLifetimeService (继承自 MarshalByRefObject。)
公共方法GetNextControl (继承自 Control。)
公共方法GetPreferredSize (继承自 Control。)
受保护的方法GetRectColor
获取边框颜色
(继承自 UIControl。)
受保护的方法GetScaledBounds (继承自 Control。)
受保护的方法GetService (继承自 Component。)
受保护的方法GetStyle (继承自 Control。)
受保护的方法GetTopLevel (继承自 Control。)
公共方法GetType (继承自 Object。)
公共方法Hide (继承自 Control。)
公共方法InitializeLifetimeService (继承自 MarshalByRefObject。)
受保护的方法InitLayout (继承自 Control。)
公共方法Invalidate (继承自 Control。)
公共方法Invalidate(Boolean) (继承自 Control。)
公共方法Invalidate(Rectangle) (继承自 Control。)
公共方法Invalidate(Region) (继承自 Control。)
公共方法Invalidate(Rectangle, Boolean) (继承自 Control。)
公共方法Invalidate(Region, Boolean) (继承自 Control。)
公共方法Invoke(Delegate) (继承自 Control。)
公共方法Invoke(Delegate, Object) (继承自 Control。)
受保护的方法InvokeGotFocus (继承自 Control。)
受保护的方法InvokeLostFocus (继承自 Control。)
受保护的方法InvokeOnClick (继承自 Control。)
受保护的方法InvokePaint (继承自 Control。)
受保护的方法InvokePaintBackground (继承自 Control。)
受保护的方法IsInputChar (继承自 Control。)
受保护的方法IsInputKey (继承自 Control。)
受保护的方法MemberwiseClone (继承自 Object。)
受保护的方法MemberwiseClone(Boolean) (继承自 MarshalByRefObject。)
公共方法NotifyDefault
受保护的方法NotifyInvalidate (继承自 Control。)
受保护的方法OnAutoSizeChanged (继承自 Control。)
受保护的方法OnBackColorChanged (继承自 Control。)
受保护的方法OnBackgroundImageChanged (继承自 Control。)
受保护的方法OnBackgroundImageLayoutChanged (继承自 Control。)
受保护的方法OnBindingContextChanged (继承自 Control。)
受保护的方法OnCausesValidationChanged (继承自 Control。)
受保护的方法OnChangeUICues (继承自 Control。)
受保护的方法OnClick (重写 ControlOnClick(EventArgs).)
受保护的方法OnClientSizeChanged (继承自 Control。)
受保护的方法OnContextMenuChanged (继承自 Control。)
受保护的方法OnContextMenuStripChanged (继承自 Control。)
受保护的方法OnControlAdded (继承自 Control。)
受保护的方法OnControlRemoved (继承自 Control。)
受保护的方法OnCreateControl (继承自 Control。)
受保护的方法OnCursorChanged (继承自 Control。)
受保护的方法OnDockChanged (继承自 Control。)
受保护的方法OnDoubleClick (继承自 Control。)
受保护的方法OnDragDrop (继承自 Control。)
受保护的方法OnDragEnter (继承自 Control。)
受保护的方法OnDragLeave (继承自 Control。)
受保护的方法OnDragOver (继承自 Control。)
受保护的方法OnEnabledChanged (继承自 Control。)
受保护的方法OnEnter (继承自 Control。)
受保护的方法OnFontChanged (继承自 Control。)
受保护的方法OnForeColorChanged (继承自 Control。)
受保护的方法OnGiveFeedback (继承自 Control。)
受保护的方法OnGotFocus
引发 GotFocus 事件。
(继承自 UIControl。)
受保护的方法OnHandleCreated (继承自 Control。)
受保护的方法OnHandleDestroyed (继承自 Control。)
受保护的方法OnHelpRequested (继承自 Control。)
受保护的方法OnImeModeChanged (继承自 Control。)
受保护的方法OnInvalidated (继承自 Control。)
受保护的方法OnKeyDown (重写 ControlOnKeyDown(KeyEventArgs).)
受保护的方法OnKeyPress (继承自 Control。)
受保护的方法OnKeyUp (重写 ControlOnKeyUp(KeyEventArgs).)
受保护的方法OnLayout (继承自 Control。)
受保护的方法OnLeave (继承自 Control。)
受保护的方法OnLocationChanged (继承自 Control。)
受保护的方法OnLostFocus
引发 OnLostFocus(EventArgs) 事件。
(继承自 UIControl。)
受保护的方法OnMarginChanged (继承自 Control。)
受保护的方法OnMouseCaptureChanged (继承自 Control。)
受保护的方法OnMouseClick (继承自 Control。)
受保护的方法OnMouseDoubleClick (继承自 Control。)
受保护的方法OnMouseDown (重写 ControlOnMouseDown(MouseEventArgs).)
受保护的方法OnMouseEnter (重写 ControlOnMouseEnter(EventArgs).)
受保护的方法OnMouseHover (继承自 Control。)
受保护的方法OnMouseLeave (重写 ControlOnMouseLeave(EventArgs).)
受保护的方法OnMouseMove (继承自 Control。)
受保护的方法OnMouseUp (重写 ControlOnMouseUp(MouseEventArgs).)
受保护的方法OnMouseWheel (继承自 Control。)
受保护的方法OnMove (继承自 Control。)
受保护的方法OnNotifyMessage (继承自 Control。)
受保护的方法OnPaddingChanged (继承自 Control。)
受保护的方法OnPaint (重写 UIControlOnPaint(PaintEventArgs).)
受保护的方法OnPaintBackground (继承自 Control。)
受保护的方法OnPaintFill (重写 UIControlOnPaintFill(Graphics, GraphicsPath).)
受保护的方法OnPaintFore
绘制字体
(继承自 UIControl。)
受保护的方法OnPaintRect
绘制边框
(继承自 UIControl。)
受保护的方法OnParentBackColorChanged (继承自 Control。)
受保护的方法OnParentBackgroundImageChanged (继承自 Control。)
受保护的方法OnParentBindingContextChanged (继承自 Control。)
受保护的方法OnParentChanged (继承自 Control。)
受保护的方法OnParentCursorChanged (继承自 Control。)
受保护的方法OnParentEnabledChanged (继承自 Control。)
受保护的方法OnParentFontChanged (继承自 Control。)
受保护的方法OnParentForeColorChanged (继承自 Control。)
受保护的方法OnParentRightToLeftChanged (继承自 Control。)
受保护的方法OnParentVisibleChanged (继承自 Control。)
受保护的方法OnPreviewKeyDown (继承自 Control。)
受保护的方法OnPrint (继承自 Control。)
受保护的方法OnQueryContinueDrag (继承自 Control。)
受保护的方法OnRadiusSidesChange (继承自 UIControl。)
受保护的方法OnRectSidesChange (继承自 UIControl。)
受保护的方法OnRegionChanged (继承自 Control。)
受保护的方法OnResize (继承自 Control。)
受保护的方法OnRightToLeftChanged (继承自 Control。)
受保护的方法OnSizeChanged (继承自 UIControl。)
受保护的方法OnStyleChanged (继承自 Control。)
受保护的方法OnSystemColorsChanged (继承自 Control。)
受保护的方法OnTabIndexChanged (继承自 Control。)
受保护的方法OnTabStopChanged (继承自 Control。)
受保护的方法OnTextChanged (继承自 UIControl。)
受保护的方法OnValidated (继承自 Control。)
受保护的方法OnValidating (继承自 Control。)
受保护的方法OnVisibleChanged (继承自 Control。)
公共方法PerformClick
公共方法PerformLayout (继承自 Control。)
公共方法PerformLayout(Control, String) (继承自 Control。)
公共方法PointToClient (继承自 Control。)
公共方法PointToScreen (继承自 Control。)
公共方法PreProcessControlMessage (继承自 Control。)
公共方法PreProcessMessage (继承自 Control。)
受保护的方法ProcessCmdKey (继承自 Control。)
受保护的方法ProcessDialogChar (继承自 Control。)
受保护的方法ProcessDialogKey (继承自 Control。)
受保护的方法ProcessKeyEventArgs (继承自 Control。)
受保护的方法ProcessKeyMessage (继承自 Control。)
受保护的方法ProcessKeyPreview (继承自 Control。)
受保护的方法ProcessMnemonic (继承自 Control。)
受保护的方法RaiseDragEvent (继承自 Control。)
受保护的方法RaiseKeyEvent (继承自 Control。)
受保护的方法RaiseMouseEvent (继承自 Control。)
受保护的方法RaisePaintEvent (继承自 Control。)
受保护的方法RecreateHandle (继承自 Control。)
公共方法RectangleToClient (继承自 Control。)
公共方法RectangleToScreen (继承自 Control。)
公共方法Refresh (继承自 Control。)
受保护的方法ResetMouseEventArgs (继承自 Control。)
公共方法ResetText (继承自 Control。)
公共方法ResumeLayout (继承自 Control。)
公共方法ResumeLayout(Boolean) (继承自 Control。)
受保护的方法RtlTranslateAlignment(ContentAlignment) (继承自 Control。)
受保护的方法RtlTranslateAlignment(HorizontalAlignment) (继承自 Control。)
受保护的方法RtlTranslateAlignment(LeftRightAlignment) (继承自 Control。)
受保护的方法RtlTranslateContent (继承自 Control。)
受保护的方法RtlTranslateHorizontal (继承自 Control。)
受保护的方法RtlTranslateLeftRight (继承自 Control。)
公共方法Scale (继承自 Control。)
受保护的方法ScaleControl (继承自 Control。)
公共方法Select (继承自 Control。)
受保护的方法Select(Boolean, Boolean) (继承自 Control。)
公共方法SelectNextControl (继承自 Control。)
公共方法SendToBack (继承自 Control。)
受保护的方法SetAutoSizeMode (继承自 Control。)
公共方法SetBounds(Int32, Int32, Int32, Int32) (继承自 Control。)
公共方法SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) (继承自 Control。)
受保护的方法SetBoundsCore (继承自 Control。)
受保护的方法SetClientSizeCore (继承自 Control。)
公共方法SetDPIScale (继承自 UIControl。)
受保护的方法SetFillColor
设置填充颜色
(继承自 UIControl。)
受保护的方法SetFillColor2
设置填充颜色
(继承自 UIControl。)
受保护的方法SetFillDisableColor
设置填充不可用颜色
(继承自 UIControl。)
受保护的方法SetFillHoveColor
设置填充鼠标移上颜色
(继承自 UIControl。)
受保护的方法SetFillPressColor
设置填充鼠标按下颜色
(继承自 UIControl。)
受保护的方法SetFillReadOnlyColor
设置填充只读颜色
(继承自 UIControl。)
受保护的方法SetFillSelectedColor
设置选中颜色
(继承自 UIControl。)
受保护的方法SetForeColor
设置字体颜色
(继承自 UIControl。)
受保护的方法SetForeDisableColor
设置字体不可用颜色
(继承自 UIControl。)
受保护的方法SetForeHoveColor
设置字体鼠标移上颜色
(继承自 UIControl。)
受保护的方法SetForePressColor
设置字体鼠标按下颜色
(继承自 UIControl。)
受保护的方法SetForeReadonlyColor
设置字体只读颜色
(继承自 UIControl。)
受保护的方法SetForeSelectedColor
设置选中颜色
(继承自 UIControl。)
受保护的方法SetRectColor
设置边框颜色
(继承自 UIControl。)
受保护的方法SetRectDisableColor
设置边框不可用颜色
(继承自 UIControl。)
受保护的方法SetRectHoveColor
设备边框鼠标移上颜色
(继承自 UIControl。)
受保护的方法SetRectPressColor
设置边框鼠标按下颜色
(继承自 UIControl。)
受保护的方法SetRectReadOnlyColor
设置边框只读颜色
(继承自 UIControl。)
受保护的方法SetRectSelectedColor
设置选中颜色
(继承自 UIControl。)
公共方法SetStyle(UIStyle)
设置主题样式
(继承自 UIControl。)
受保护的方法SetStyle(ControlStyles, Boolean) (继承自 Control。)
公共方法SetStyleColor (重写 UIControlSetStyleColor(UIBaseStyle).)
受保护的方法SetStyleFlags (继承自 UIControl。)
受保护的方法SetTopLevel (继承自 Control。)
受保护的方法SetVisibleCore (继承自 Control。)
公共方法Show (继承自 Control。)
受保护的方法SizeFromClientSize (继承自 Control。)
公共方法SuspendLayout (继承自 Control。)
公共方法ToString (继承自 Component。)
公共方法Update (继承自 Control。)
受保护的方法UpdateBounds (继承自 Control。)
受保护的方法UpdateBounds(Int32, Int32, Int32, Int32) (继承自 Control。)
受保护的方法UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) (继承自 Control。)
受保护的方法UpdateStyles (继承自 Control。)
受保护的方法UpdateZOrder (继承自 Control。)
受保护的方法WndProc (继承自 Control。)
Top
扩展方法
  名称说明
公共扩展器方法ConsoleWriteLine (由 SystemEx 定义。)
公共扩展器方法Disabled (由 ControlEx 定义。)
公共扩展器方法DoubleBuffered
双缓冲显示
(由 ControlEx 定义。)
公共扩展器方法DPIScale (由 UIDPIScale 定义。)
公共扩展器方法DPIScaleFont(Font)已重载。 (由 UIDPIScale 定义。)
公共扩展器方法DPIScaleFont(Font, Single)已重载。 (由 UIDPIScale 定义。)
公共扩展器方法DPIScaleFontSize (由 UIDPIScale 定义。)
公共扩展器方法GetAllControls (由 ControlEx 定义。)
公共扩展器方法GetAllDPIScaleControls (由 UIDPIScale 定义。)
公共扩展器方法GetControl(String)已重载。
根据名称获取控件
(由 ControlEx 定义。)
公共扩展器方法GetControlT(String)已重载。
根据名称获取控件
(由 ControlEx 定义。)
公共扩展器方法GetControls(String)已重载。
查找包含名称的控件列表
(由 ControlEx 定义。)
公共扩展器方法GetControlsT(Boolean)已重载。
获取所有类型为T的控件
(由 ControlEx 定义。)
公共扩展器方法GetInterfaceControls
查找包含接口名称的控件列表
(由 ControlEx 定义。)
公共扩展器方法GetParentForm (由 ControlEx 定义。)
公共扩展器方法GetTag
Control的Tag属性扩展,根据索引获取对象
(由 ControlEx 定义。)
公共扩展器方法GetTranslateControls (由 UIStyleHelper 定义。)
公共扩展器方法GetUIStyleControls
查找包含接口名称的控件列表
(由 UIStyleHelper 定义。)
公共扩展器方法InitTag
Control的Tag属性扩展,设置多个对象
(由 ControlEx 定义。)
公共扩展器方法Invisible (由 ControlEx 定义。)
公共扩展器方法RootForm (由 ControlEx 定义。)
公共扩展器方法SaveToImage已重载。
控件保存为图片
(由 ControlEx 定义。)
公共扩展器方法SaveToImage(String, ImageFormat)已重载。
控件保存为图片
(由 ControlEx 定义。)
公共扩展器方法ScreenLocation (由 ControlEx 定义。)
公共扩展器方法ScreenRectangle (由 ControlEx 定义。)
公共扩展器方法SetControlEnabled
功能描述:设置控件Enabled,切不改变控件颜色 作  者:LT 创建日期:2019-03-04 13:43:32 任务编号:POS
(由 ControlHelper 定义。)
公共扩展器方法SetDisabled
控件不可对用户交互做出响应
(由 ControlEx 定义。)
公共扩展器方法SetDPIScaleFont (由 UIDPIScale 定义。)
公共扩展器方法SetEnabled
控件可对用户交互做出响应
(由 ControlEx 定义。)
公共扩展器方法SetLocationToForm (由 ControlEx 定义。)
公共扩展器方法SetTag
Control的Tag属性扩展,根据索引更新对象
(由 ControlEx 定义。)
公共扩展器方法ShowContextMenuStrip(ContextMenuStrip, Point)已重载。 (由 ControlEx 定义。)
公共扩展器方法ShowContextMenuStrip(ContextMenuStrip, Int32, Int32)已重载。 (由 ControlEx 定义。)
公共扩展器方法ShowControlMask (由 FormEx 定义。)
公共扩展器方法ThreadSafeCall(Action)已重载。
txtOutput.ThreadSafeCall(() => txtOutput.Text = "Updated");
(由 SystemEx 定义。)
公共扩展器方法ThreadSafeCallT(FuncT)已重载。 (由 SystemEx 定义。)
公共扩展器方法WriteConsole (由 UConsole 定义。)
Top
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架