PowerApps 中的色彩和框線屬性Color and border properties in PowerApps

概觀Overview

根據使用者與其互動的方式,設定控制項的樣式。Configure the style of a control based on how the user interacts with it.

正常Normal

當使用者未與控制項互動時,這些屬性會正常作用。These properties are in effect normally, when the user is not interacting with the control.

BorderColor – 控制項框線的色彩。BorderColor – The color of a control's border.

BorderStyle – 決定控制項的框線為實線虛線點線BorderStyle – Whether a control's border is Solid, Dashed, Dotted, or None.

BorderThickness – 控制項框線的粗細。BorderThickness – The thickness of a control's border.

Color – 控制項文字的色彩。Color – The color of text in a control.

Fill – 控制項的背景色彩。Fill – The background color of a control.

FocusedBorderThickness – 控制項具有鍵盤焦點時的框線粗細。FocusedBorderThickness – The thickness of a control's border when it has keyboard focus.

DisabledDisabled

當控制項已停用時,這些屬性會有作用。These properties are in effect when the controls is disabled. 如果 Disabled 屬性設定為 true,則可以停用控制項。A control can be disabled if the Disabled property is set to true.

DisabledBorderColor – 控制項的 DisplayMode 屬性設為 Disabled 時,該控制項所呈現的框線色彩。DisabledBorderColor – The color of a control's border if the control's DisplayMode property is set to Disabled.

DisabledColor – 控制項的 DisplayMode 屬性設為 Disabled 時,該控制項所呈現的文字色彩。DisabledColor – The color of text in a control if its DisplayMode property is set to Disabled.

DisabledFill – 控制項的 DisplayMode 屬性設為 Disabled 時,該控制項所呈現的背景色彩。DisabledFill – The background color of a control if its DisplayMode property is set to Disabled.

HoverHover

當使用者將滑鼠停駐在控制項時,這些屬性會有作用。These properties are in effect when the user hovers over the control with a mouse.

HoverBorderColor – 使用者將滑鼠指標停留在控制項上時,該控制項所呈現的框線色彩。HoverBorderColor – The color of a control's border when the user keeps the mouse pointer on that control.

HoverColor – 使用者將滑鼠指標停留在控制項上時,該控制項所呈現的文字色彩。HoverColor – The color of the text in a control when the user keeps the mouse pointer on it.

HoverFill – 使用者將滑鼠指標停留在控制項上時,該控制項所呈現的背景色彩。HoverFill – The background color of a control when the user keeps the mouse pointer on it.

PressedPressed

按下按鈕或影像控制項時,這些屬性會有作用。These properties are in effect when a button or image control is pressed.

PressedBorderColor – 使用者點選或按一下控制項時,該控制項所呈現的框線色彩。PressedBorderColor – The color of a control's border when the user taps or clicks that control.

PressedColor – 使用者點選或按一下控制項時,該控制項所呈現的文字色彩。PressedColor – The color of text in a control when the user taps or clicks that control.

PressedFill – 使用者點選或按一下控制項時,該控制項所呈現的背景色彩。PressedFill – The background color of a control when the user taps or clicks that control.

SelectionSelection

當使用者選取控制項中的項目時,這些屬性會有作用。These properties are in effect when the user selects an item in a control.

SelectionColor – 清單中所選取項目的文字色彩,或手寫筆控制項中選取工具的色彩。SelectionColor – The text color of a selected item or items in a list or the color of the selection tool in a pen control.

SelectionFill – 清單中所選取項目或手寫筆控制項中所選取區域的背景色彩。SelectionFill – The background color of a selected item or items in a list or a selected area of a pen control.