﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Font</title><link>http://www.intersoftsolutions.com/Community/Tags/Font/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>WebToolBar change MenuStyleSettings</title><link>http://www.intersoftsolutions.com/Community/Tags/Font/</link><pubDate>Sat, 02 Nov 2013 06:23:40 GMT</pubDate><dc:creator>siemiatkowski@softwarestudio.com.pl</dc:creator><category>WebToolBar</category><category>Font</category><category>MenuStyleSettings</category><description>&lt;p&gt;I woud like to change defualt value for WebToolBar Menu like font&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;pre&gt; &amp;lt;ISWebDesktop:WebToolBar ID="WebToolBar1" runat="server" AllowCustomize="No" 
                AllowExpandCollapse="No" BarStyle="Metro" 
                CommandSize="" HeaderHeight="" Height="35px" IntegratedTo="None" 
                NewDockingArea="NotSet" NewDockingRow="0" NewIsFloat="Default" Width="100%"&amp;gt;&lt;/pre&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;&amp;lt;MenuStyleSettings BackgroundStripColor="240, 240, 240" BackgroundStripColor2="240, 240, 240" &amp;gt;
                    
                    &amp;lt;ItemStyle&amp;gt;
                    &amp;lt;Normal BackColor="#F0F0F0" Font-Names="&lt;b&gt;Verdana&lt;/b&gt;, Segoe UI,Arial" Font-Size="&lt;b&gt;12pt&lt;/b&gt;"&amp;gt;
                    &amp;lt;/Normal&amp;gt;
                    &amp;lt;Over BackColor="#D7EEFC" BaseStyle="Normal"&amp;gt;
                    &amp;lt;/Over&amp;gt;
                    &amp;lt;Active BackColor="#73C4FB" BaseStyle="Normal"&amp;gt;
                    &amp;lt;/Active&amp;gt;
                    &amp;lt;/ItemStyle&amp;gt;
                    &amp;lt;FrameStyle BackColor="#F0F0F0" BorderColor="#73C4FB" BorderStyle="Solid" BorderWidth="1px"&amp;gt;
                    &amp;lt;/FrameStyle&amp;gt;
                    
                    
                &amp;lt;/MenuStyleSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Unfortunately, changing the value can not see the effect when you run, the menu will dissipate.&lt;/p&gt;
&lt;p&gt;menu is displayed by default control settings&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>change the font in WebGrid HTML 5 - text overlaps one another</title><link>http://www.intersoftsolutions.com/Community/Tags/Font/</link><pubDate>Fri, 01 Nov 2013 15:43:36 GMT</pubDate><dc:creator>siemiatkowski@softwarestudio.com.pl</dc:creator><category>WebGrid</category><category>Font</category><category>HTML 5</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I would like to change font in webgrid to Verdana.&lt;/p&gt;
&lt;p&gt;When long text is displayed in the column that the data is hidden and appear the sign ...&lt;/p&gt;
&lt;p&gt;like - see attach file: &lt;span style="background-color: rgb(255, 255, 255); color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana; font-size: 12px; white-space: nowrap;"&gt;&amp;nbsp;webgrid default font.jpg&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;When I change font like:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;WebGrid1.LayoutSettings.AlternatingRowStyle.Font.Name = "Verdana";&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;WebGrid1.LayoutSettings.AlternatingRowStyle.Font.Size = FontUnit.Point(8);&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;WebGrid1.LayoutSettings.RowStyle.Font.Name = "Verdana";&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;WebGrid1.LayoutSettings.RowStyle.Font.Size = FontUnit.Point(8);&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;WebGrid1.RootTable.RowStyle.BackColor = System.Drawing.Color.White;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;I get the font that I want, and the information in the column beyond its scope - the width&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;see attach file: &lt;span style="background-color: rgb(255, 255, 255); color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana; font-size: 12px; white-space: nowrap;"&gt;&amp;nbsp;webgrid change font.jpg&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: rgb(255, 255, 255); font-size: 12px; white-space: nowrap;"&gt;&lt;font style="color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana;"&gt;text overlaps one another&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: rgb(255, 255, 255); color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana; font-size: 12px; white-space: nowrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: rgb(255, 255, 255); font-size: 12px; white-space: nowrap;"&gt;&lt;font style="color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana;"&gt;How can I force the action as the default font?&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: rgb(255, 255, 255); font-size: 12px; white-space: nowrap;"&gt;&lt;font style="color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana;"&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: rgb(255, 255, 255); color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana; font-size: 12px; white-space: nowrap;"&gt;thx&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: rgb(255, 255, 255); color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana; font-size: 12px; white-space: nowrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: rgb(255, 255, 255); color: rgb(66, 66, 66); font-family: 'segoe ui', tahoma, verdana; font-size: 12px; white-space: nowrap;"&gt;Adam&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;</description></item><item><title>Font problem when changing style on row and cell</title><link>http://www.intersoftsolutions.com/Community/Tags/Font/</link><pubDate>Mon, 28 Jun 2010 10:07:36 GMT</pubDate><dc:creator>david.ahlen</dc:creator><category>Style</category><category>webgrid 7</category><category>Font</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I found what seems to be an issue with the font in the grid. &lt;/p&gt;
&lt;p&gt;When changing the style of a row and a cell programmatically the text does not get the correct font. Instead of the font used in the WebGrid it gets the standard font of the page.&lt;/p&gt;
&lt;p&gt;As an example:&lt;/p&gt;&lt;pre&gt;&lt;pre&gt;&amp;lt;style type="text/css"&amp;gt;
body { font-family: Monospace; }
&amp;lt;/style&amp;gt;

&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" DefaultStyleMode="Silver"
    UseDefaultStyle="true"&amp;gt;
&amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;&lt;/pre&gt;
&lt;p&gt;And in code behind:&lt;/p&gt;&lt;pre&gt;&amp;nbsp;&lt;pre&gt;bool isEvenRow = true;

void WebGrid1_InitializeRow(object sender, RowEventArgs e)
{
	if (isEvenRow)
                e.Row.Style.BackColor = System.Drawing.Color.LightGray;

	bool isEvenColumn = true;
	foreach (WebGridCell cell in e.Row.Cells)
	{
 	   if (isEvenRow &amp;amp;&amp;amp; isEvenColumn)
                    cell.Style.BackColor = System.Drawing.Color.Yellow;

	   isEvenColumn = !isEvenColumn;
	}

      	isEvenRow = !isEvenRow;
}&lt;/pre&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This example will change the background color of every even row (gray) and every even cell (yellow). At least for me the yellow cells will have Monospace as font while the rest of the cells will have the WebGrid font.&lt;/p&gt;
&lt;p&gt;Is there a solution to this?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;David&lt;/p&gt;</description></item></channel></rss>