Exemplo n.º 1
0
        internal protected override void LoadMeta(FtMetaField metaField, CultureInfo myCulture, int myMainHeadingIndex)
        {
            base.LoadMeta(metaField, myCulture, myMainHeadingIndex);

            FtBooleanMetaField booleanMetaField = metaField as FtBooleanMetaField;

            formatter.FalseText = booleanMetaField.FalseText;
            formatter.TrueText  = booleanMetaField.TrueText;
            formatter.Styles    = booleanMetaField.Styles;
        }
Exemplo n.º 2
0
        protected internal override void Assign(FtMetaField source)
        {
            base.Assign(source);

            FtBooleanMetaField typedSource = source as FtBooleanMetaField;

            FalseText = typedSource.FalseText;
            TrueText  = typedSource.TrueText;
            Styles    = typedSource.Styles;
        }