SplitViewStateBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct SplitViewStateBehavior
Updates SplitView properties based on size conditions.
Members
TYPEto_refsource_control_propertysetters_propertyconstructnewsource_controlset_source_controlsetters
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<SplitViewStateBehavior>
Returns a strong reference to this object.
source_control_property
fn source_control_property() -> &'static StyledProperty<Option<ElementRef<Control>>>
Identifies the SourceControl property.
Deviation (DEVIATIONS.md, Behaviors): the behavior does not own its source, so the value is an element reference.
setters_property
fn setters_property() -> &'static DirectProperty<SplitViewStateBehavior, SplitViewStateSetters>
Identifies the Setters property.
construct
fn construct() -> Self
Creates the class data; see FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
source_control
fn source_control(self: &Self) -> Option<Ref<Control>>
Gets or sets the control whose bounds are observed. If not set, the associated object is used. This is a property of the object model; markup resolves a name given for it to the named control.
set_source_control
fn set_source_control(self: &Self, value: impl Into<Nullable<Control>>)
setters
fn setters(self: &Self) -> SplitViewStateSetters
Gets split view state setters collection. This is a property of the object model, and the content of the behavior in markup.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementBehaviorImplExtDerefUpcast<T>Upcast<SplitViewStateBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.