首页 > 代码库 > .Net语言 APP开发平台——Smobiler学习日志:HoverBackColor属性的简单介绍

.Net语言 APP开发平台——Smobiler学习日志:HoverBackColor属性的简单介绍

一、属性介绍

设置按钮按下时的背景色,默认设置为“Gray”

二、举例介绍

以Button控件为例

mobiler窗体设计界面见图1

将该属性设置为“255, 255, 128”,表示RGB颜色,属性设置见图2

属性设置前的按钮按下时的效果见图3

属性设置后的按钮按下时的效果见图4

技术分享 技术分享 技术分享 技术分享
图1 图2 图3 图4

三、相关控件

BarcodeButton、Button、CameraButton、ImageButton、OfflineCameraButton、OfflineVoiceRecorderButton、PhoneButton、SignatureButton、VoiceRecorderButton

.Net语言 APP开发平台——Smobiler学习日志:HoverBackColor属性的简单介绍