Sprache

IAttributeSet.StyleAttribute Property

Definition

Return the value of the "style" attribute or 0 if there is not one.

public int StyleAttribute { [Android.Runtime.Register("getStyleAttribute", "()I", "GetGetStyleAttributeHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getStyleAttribute", "()I", "GetGetStyleAttributeHandler:Android.Util.IAttributeSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.StyleAttribute : int

Property Value

The style attribute's resource identifier or 0.

Attributes

Remarks

Return the value of the "style" attribute or 0 if there is not one. Equivalent to getAttributeResourceValue(null, "style").

Android reference for android.util.AttributeSet.getStyleAttribute.

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.

Applies to