protected override TEntry CreatePlatformView() { var entry = new EditfieldEntry(PlatformParent) { IsSingleLine = true, HorizontalTextAlignment = TTextAlignment.Center, InputPanelShowByOnDemand = true, IsEditable = false }; entry.SetVerticalTextAlignment(0.5); return(entry); }
protected override TEntry CreatePlatformView() { _ = NativeParent ?? throw new ArgumentNullException(nameof(NativeParent)); var entry = new EditfieldEntry(NativeParent) { IsSingleLine = true, HorizontalTextAlignment = TTextAlignment.Center, InputPanelShowByOnDemand = true, IsEditable = false }; entry.SetVerticalTextAlignment(0.5); return(entry); }