internal void SetFlexJustification(FlexLayout.FlexJustification flexJustification) { LayoutPINVOKE.FlexLayout_SetFlexJustification(swigCPtr, (int)flexJustification); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal FlexLayout.FlexJustification GetFlexJustification() { FlexLayout.FlexJustification ret = (FlexLayout.FlexJustification)LayoutPINVOKE.FlexLayout_GetFlexJustification(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/// <summary> /// The method called when the button 2 is clicked /// </summary> /// <param name="sender">Button instance</param> /// <param name="e">Event arguments</param> private void Button2Clicked(object sender, Button.ClickEventArgs e) { FlexLayout Layout = (FlexLayout)FlexView.Layout; FlexLayout.FlexJustification newJust = Layout.Justification + 1; if (newJust > FlexLayout.FlexJustification.SpaceAround) { newJust = FlexLayout.FlexJustification.FlexStart; } Layout.Justification = newJust; FlexView.Layout = Layout; }
internal FlexLayout.FlexJustification GetFlexJustification() { FlexLayout.FlexJustification ret = (FlexLayout.FlexJustification)Interop.FlexLayout.FlexLayout_GetFlexJustification(swigCPtr); return ret; }
internal void SetFlexJustification(FlexLayout.FlexJustification flexJustification) { Interop.FlexLayout.FlexLayout_SetFlexJustification(swigCPtr, (int)flexJustification); RequestLayout(); }