示例#1
0
 internal void SetFlexItemsAlignment(FlexLayout.AlignmentType flexAlignment)
 {
     LayoutPINVOKE.FlexLayout_SetFlexItemsAlignment(swigCPtr, (int)flexAlignment);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 internal FlexLayout.AlignmentType GetFlexItemsAlignment()
 {
     FlexLayout.AlignmentType ret = (FlexLayout.AlignmentType)Interop.FlexLayout.GetFlexItemsAlignment(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
示例#3
0
        /// <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;
        }
示例#4
0
 internal void SetFlexItemsAlignment(FlexLayout.AlignmentType flexAlignment)
 {
     Interop.FlexLayout.FlexLayout_SetFlexItemsAlignment(swigCPtr, (int)flexAlignment);
     RequestLayout();
 }
示例#5
0
 internal FlexLayout.AlignmentType GetFlexAlignment()
 {
     FlexLayout.AlignmentType ret = (FlexLayout.AlignmentType)Interop.FlexLayout.FlexLayout_GetFlexAlignment(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }