internal void SetFlexItemsAlignment(FlexLayout.AlignmentType flexAlignment) { LayoutPINVOKE.FlexLayout_SetFlexItemsAlignment(swigCPtr, (int)flexAlignment); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal FlexLayout.AlignmentType GetFlexItemsAlignment() { FlexLayout.AlignmentType ret = (FlexLayout.AlignmentType)Interop.FlexLayout.GetFlexItemsAlignment(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// The method called when the button 3 is clicked /// </summary> /// <param name="sender">Button instance</param> /// <param name="e">Event arguments</param> private void Button3Clicked(object sender, Button.ClickEventArgs e) { FlexLayout Layout = (FlexLayout)FlexView.Layout; FlexLayout.AlignmentType newAlign = Layout.Alignment + 1; if (newAlign > FlexLayout.AlignmentType.Stretch) { newAlign = FlexLayout.AlignmentType.Auto; } Layout.Alignment = newAlign; FlexView.Layout = Layout; }
internal void SetFlexItemsAlignment(FlexLayout.AlignmentType flexAlignment) { Interop.FlexLayout.FlexLayout_SetFlexItemsAlignment(swigCPtr, (int)flexAlignment); RequestLayout(); }
internal FlexLayout.AlignmentType GetFlexAlignment() { FlexLayout.AlignmentType ret = (FlexLayout.AlignmentType)Interop.FlexLayout.FlexLayout_GetFlexAlignment(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }