예제 #1
0
        /// <summary>
        /// Set defaults value.
        /// </summary>
        void SetDefaultValue()
        {
            // TextProperty
            nativeButton.SetText(fixedButton.Text, Android.Widget.TextView.BufferType.Normal);
            nativeButton.TextAlignment = Android.Views.TextAlignment.Center;

            // TextColorProperty
            nativeButton.SetTextColor(fixedButton.TextColor.ToAndroid());

            // ButtonBackgroundColorProperty
            nativeButton.SetBackgroundColor(fixedButton.ButtonBackgroundColor.ToAndroid());
        }