internal override NativeElementData ToNative() { NativeFilledButtonData native = null; #if __ANDROID__ native = new NativeFilledButtonData(ElementId, PressedColor.ToNative()); #elif __IOS__ native = NativeFilledButtonData.Create((ushort)ElementId); native.PressedColor = PressedColor.ToNative(); #elif WINDOWS_PHONE_APP native = new NativeFilledButtonData(ElementId, PressedColor.ToNative()); #endif return native; }
internal override NativeElementData ToNative() { NativeFilledButtonData native = null; #if __ANDROID__ native = new NativeFilledButtonData(ElementId, PressedColor.ToNative()); #elif __IOS__ native = NativeFilledButtonData.Create((ushort)ElementId); native.PressedColor = PressedColor.ToNative(); #elif WINDOWS_PHONE_APP native = new NativeFilledButtonData(ElementId, PressedColor.ToNative()); #endif return(native); }
internal FilledButtonData(NativeFilledButtonData native) : base(native) { PressedColor = native.PressedColor.FromNative(); }
internal FilledButtonData(NativeFilledButtonData native) : base(native) { PressedColor = native.PressedColor.FromNative(); }