コード例 #1
0
 internal void SetFlexJustification(FlexLayout.FlexJustification flexJustification)
 {
     LayoutPINVOKE.FlexLayout_SetFlexJustification(swigCPtr, (int)flexJustification);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 internal FlexLayout.FlexJustification GetFlexJustification()
 {
     FlexLayout.FlexJustification ret = (FlexLayout.FlexJustification)LayoutPINVOKE.FlexLayout_GetFlexJustification(swigCPtr);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
コード例 #3
0
        /// <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;
        }
コード例 #4
0
ファイル: FlexLayout.cs プロジェクト: yoowonyoung/TizenFX
 internal FlexLayout.FlexJustification GetFlexJustification()
 {
     FlexLayout.FlexJustification ret = (FlexLayout.FlexJustification)Interop.FlexLayout.FlexLayout_GetFlexJustification(swigCPtr);
     return ret;
 }
コード例 #5
0
ファイル: FlexLayout.cs プロジェクト: yoowonyoung/TizenFX
 internal void SetFlexJustification(FlexLayout.FlexJustification flexJustification)
 {
     Interop.FlexLayout.FlexLayout_SetFlexJustification(swigCPtr, (int)flexJustification);
     RequestLayout();
 }