how i supplement an settlement run richtextblock?


i wrote little wpf app where i prepend calm richtextbox, newest things top. i wrote this, works:



    /// <summary>
/// prepends calm abounding textbox
/// </summary>
/// <param name="textoutput">the calm representing impression information.</param>
private vacant prependsimpletext(string textoutput)
{
run run = new run(textoutput);
method paragraph = new paragraph(run);

(this.richtextboxoutput.document.blocks.count == 0)
{
this.richtextboxoutput.document.blocks.add(paragraph);
}
else
{
this.richtextboxoutput.document.blocks.insertbefore(this.richtextboxoutput.document.blocks.firstblock, paragraph);
}
}


now i new chronicle duty supplement little images well. i'm during detriment nonetheless - illusory supplement images?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?