Wednesday, November 28, 2012

Silverlight multiline textbox

For multiline text box you have to use just 2 property for text box AcceptsReturn="True" TextWrapping="Wrap". consider the datagrid.

the xaml code for the

  <sdk:DataGridTemplateColumn CanUserReorder="False" CanUserResize="False" CanUserSort="False" Width="Auto" Header="Remarks" >  
                 <TextBox AcceptsReturn="True" TextWrapping="Wrap"></TextBox>  

thank you.

C# print file on LAN Printer

If you want to print any file on network printer then you can try with this code block // Change Default Printer System.Ma...