protected override TEntry CreatePlatformView()
        {
            var entry = new EditfieldEntry(PlatformParent)
            {
                IsSingleLine             = true,
                HorizontalTextAlignment  = TTextAlignment.Center,
                InputPanelShowByOnDemand = true,
                IsEditable = false
            };

            entry.SetVerticalTextAlignment(0.5);
            return(entry);
        }
Exemple #2
0
        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);
        }