コード例 #1
0
        /// <inheritdoc/>
        protected override void OnInitialized()
        {
            if (ParentGrid != null)
            {
                ParentGrid.AddColumn(this);
            }

            if (TextAlign == null && (Property is IntegerProperty ||
                                      Property is DecimalProperty || Property is DateTimeProperty))
            {
                TextAlign = Alignment.End;
            }

            base.OnInitialized();
        }