Class AbstractBooleanFormatting
Base class for simpe on/off type formatting, such as bold, italic, underline
Inheritance
System.Object
AbstractBooleanFormatting
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.FileTypeSupport.Framework.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public abstract class AbstractBooleanFormatting : AbstractFormattingItem, IFormattingItem, ICloneable
Constructors
AbstractBooleanFormatting()
Default constructor, creates an uninitialized boolean formatting.
The default value for the bool data is true
.
Declaration
protected AbstractBooleanFormatting()
AbstractBooleanFormatting(Boolean)
Initializes the boolean formatting with the specified value.
Declaration
protected AbstractBooleanFormatting(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Properties
LocalizedStringValue
A localized representation of the boolean value string
Declaration
public override string LocalizedStringValue { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
StringValue
The boolean value as a string
Declaration
public override string StringValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Remarks
Typically used for serialization.
Value
The boolean value for the formatting that the derived type represents
Declaration
public virtual bool Value { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
System.ICloneable