pub struct UiAutomationRangeValuePattern(/* private fields */);Expand description
提供对显示一系列值的控件的访问。
Implementations§
source§impl UiAutomationRangeValuePattern
impl UiAutomationRangeValuePattern
https://learn.microsoft.com/en-us/windows/win32/api/uiautomationclient/nn-uiautomationclient-iuiautomationrangevaluepattern
sourcepub fn is_read_only(&self) -> bool
pub fn is_read_only(&self) -> bool
指示是否可以更改元素的值。 此属性是只读的。
sourcepub fn get_large_change(&self) -> f64
pub fn get_large_change(&self) -> f64
检索在进行较大更改时(例如,按下 PAGE DOWN 键时)向控件的值添加或减去的值。 此属性是只读的。 LargeChange 属性可以支持非数字 (NaN) 值。检索此属性时,客户端可以使用 _isnan 函数来确定该属性是否为 NaN 值。
sourcepub fn get_maximum(&self) -> f64
pub fn get_maximum(&self) -> f64
检索控件的最大值。 此属性是只读的。
sourcepub fn get_minimum(&self) -> f64
pub fn get_minimum(&self) -> f64
检索控件的最小值。 此属性是只读的。
sourcepub fn get_small_change(&self) -> f64
pub fn get_small_change(&self) -> f64
检索在进行小的更改时(例如,当按下箭头键时)添加到控件的值或从控件的值中减去的值。 此属性是只读的。 SmallChange 属性可以支持非数字 (NaN) 值。检索此属性时,客户端可以使用 _isnan 函数来确定该属性是否为 NaN 值。
Trait Implementations§
source§impl PatternCreator<IUIAutomationRangeValuePattern> for UiAutomationRangeValuePattern
impl PatternCreator<IUIAutomationRangeValuePattern> for UiAutomationRangeValuePattern
Auto Trait Implementations§
impl Freeze for UiAutomationRangeValuePattern
impl RefUnwindSafe for UiAutomationRangeValuePattern
impl !Send for UiAutomationRangeValuePattern
impl !Sync for UiAutomationRangeValuePattern
impl Unpin for UiAutomationRangeValuePattern
impl UnwindSafe for UiAutomationRangeValuePattern
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more