public Brush GetPAttributeColor(ParagraphAttributes param) { switch (param) { default: case ParagraphAttributes.None: return(Brushes.White); case ParagraphAttributes.Background_noise: return(Brushes.DodgerBlue); case ParagraphAttributes.Background_speech: return(Brushes.Chocolate); case ParagraphAttributes.Junk: return(Brushes.Crimson); case ParagraphAttributes.Narrowband: return(Brushes.Olive); } }
public Brush GetPAttributeBgColor(ParagraphAttributes param) { return(Brushes.White); }
public Brush GetPAttributeColor(ParagraphAttributes param) { switch (param) { default: case ParagraphAttributes.None: return Brushes.White; case ParagraphAttributes.Background_noise: return Brushes.DodgerBlue; case ParagraphAttributes.Background_speech: return Brushes.Chocolate; case ParagraphAttributes.Junk: return Brushes.Crimson; case ParagraphAttributes.Narrowband: return Brushes.Olive; } }
public Brush GetPAttributeBgColor(ParagraphAttributes param) { return Brushes.White; }
public ParagraphAttibutesAction(TranscriptionParagraph changedParagraph, TranscriptionIndex changeIndex,int changeAbsoluteIndex, ParagraphAttributes oldAttributes) : base(ChangeType.Modify, changedParagraph, changeIndex, changeAbsoluteIndex) { _oldAttributes = oldAttributes; }
public ParagraphAttibutesAction(TranscriptionParagraph changedParagraph, TranscriptionIndex changeIndex, int changeAbsoluteIndex, ParagraphAttributes oldAttributes) : base(ChangeType.Modify, changedParagraph, changeIndex, changeAbsoluteIndex) { _oldAttributes = oldAttributes; }