Freigeben über


RelativeLayout.LayoutParams.GetRules Method

Definition

Retrieves a complete list of all supported rules, where the index is the rule verb, and the element value is the value specified, or "false" if it was never set.

[Android.Runtime.Register("getRules", "()[I", "GetGetRulesHandler")]
public virtual int[]? GetRules ();
[<Android.Runtime.Register("getRules", "()[I", "GetGetRulesHandler")>]
abstract member GetRules : unit -> int[]
override this.GetRules : unit -> int[]

Returns

Int32[]

the supported rules

Attributes

Remarks

Retrieves a complete list of all supported rules, where the index is the rule verb, and the element value is the value specified, or "false" if it was never set. There will be no resolution of relative rules done.

Java documentation for android.widget.RelativeLayout.LayoutParams.getRules().

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

See also

  • <xref:Android.Widget.RelativeLayout.LayoutParams.AddRule(Android.Widget.LayoutRules%2c+System.Int32)>