Struct windows::UI::ViewManagement::StatusBar
pub struct StatusBar(/* private fields */);
Implementations§
§impl StatusBar
impl StatusBar
pub fn ShowAsync(&self) -> Result<IAsyncAction>
pub fn HideAsync(&self) -> Result<IAsyncAction>
pub fn BackgroundOpacity(&self) -> Result<f64>
pub fn SetBackgroundOpacity(&self, value: f64) -> Result<()>
pub fn ForegroundColor(&self) -> Result<IReference<Color>>
pub fn SetForegroundColor<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IReference<Color>>,
pub fn BackgroundColor(&self) -> Result<IReference<Color>>
pub fn SetBackgroundColor<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IReference<Color>>,
pub fn ProgressIndicator(&self) -> Result<StatusBarProgressIndicator>
pub fn OccludedRect(&self) -> Result<Rect>
pub fn Showing<P0>(&self, eventhandler: P0) -> Result<EventRegistrationToken>
pub fn RemoveShowing(&self, token: EventRegistrationToken) -> Result<()>
pub fn Hiding<P0>(&self, eventhandler: P0) -> Result<EventRegistrationToken>
pub fn RemoveHiding(&self, token: EventRegistrationToken) -> Result<()>
pub fn GetForCurrentView() -> Result<StatusBar>
Trait Implementations§
§impl From<&StatusBar> for &IInspectable
impl From<&StatusBar> for &IInspectable
§impl From<StatusBar> for IInspectable
impl From<StatusBar> for IInspectable
§impl Interface for StatusBar
impl Interface for StatusBar
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for StatusBar
impl Send for StatusBar
impl StructuralPartialEq for StatusBar
impl Sync for StatusBar
Auto Trait Implementations§
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