DrawableContainer.SetConstantState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the container's constant state and refreshes the current child, if selected.
[Android.Runtime.Register("setConstantState", "(Landroid/graphics/drawable/DrawableContainer$DrawableContainerState;)V", "GetSetConstantState_Landroid_graphics_drawable_DrawableContainer_DrawableContainerState_Handler")]
protected virtual void SetConstantState(Android.Graphics.Drawables.DrawableContainer.DrawableContainerState? state);
[<Android.Runtime.Register("setConstantState", "(Landroid/graphics/drawable/DrawableContainer$DrawableContainerState;)V", "GetSetConstantState_Landroid_graphics_drawable_DrawableContainer_DrawableContainerState_Handler")>]
abstract member SetConstantState : Android.Graphics.Drawables.DrawableContainer.DrawableContainerState -> unit
override this.SetConstantState : Android.Graphics.Drawables.DrawableContainer.DrawableContainerState -> unit
Parameters
The constant state to use for this container.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.