public override void CopyFrom(BindableObject bindableObject) { base.CopyFrom(bindableObject); if (bindableObject is PickerStyle pickerStyle) { ItemTextLabel.CopyFrom(pickerStyle.ItemTextLabel); Divider.CopyFrom(pickerStyle.Divider); StartScrollOffset = (pickerStyle.StartScrollOffset == null) ? new Size2D() : new Size2D(pickerStyle.StartScrollOffset.Width, pickerStyle.StartScrollOffset.Height); } }