/// <summary>
 /// Восстановить сохранненые значения.
 /// </summary>
 public void RestoreSettings(Truncation truncation)
 {
     truncation.Length = Length;
     truncation.Mode = Mode;
     truncation.Text = Text;
 }
 public TruncationSettingsWrapper(Truncation truncation) 
 {
     Length = truncation.Length;
     Mode = truncation.Mode;
     Text = truncation.Text;
 }