﻿<?xml version="1.0" encoding="utf-8"?><Type Name="FontUnitConverter" FullName="System.Web.UI.WebControls.FontUnitConverter"><TypeSignature Language="C#" Value="public class FontUnitConverter : System.ComponentModel.TypeConverter" Maintainer="auto" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyPublicKey></AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.ComponentModel.TypeConverter</BaseTypeName></Base><Interfaces /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Web.UI.WebControls.FontUnitConverter" /> class is used to convert data to and from <see cref="T:System.Web.UI.WebControls.FontUnit" /> and string types.</para><block subset="none" type="note"><para>You should never access a type converter directly. Instead, call the appropriate converter by using <see cref="T:System.ComponentModel.TypeDescriptor" />. For more information, see the examples in the <see cref="T:System.ComponentModel.TypeConverter" /> base class. </para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts a <see cref="T:System.Web.UI.WebControls.FontUnit" /> to a string. It also converts a string to a <see cref="T:System.Web.UI.WebControls.FontUnit" />. </para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public FontUnitConverter ();" /><MemberType>Constructor</MemberType><ReturnValue /><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><block subset="none" type="note"><para>You should never access a type converter directly. Instead, call the appropriate converter by using a <see cref="T:System.ComponentModel.TypeDescriptor" /> object. For more information, see the examples in <see cref="T:System.ComponentModel.TypeConverter" />.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.FontUnitConverter" /> class.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CanConvertFrom"><MemberSignature Language="C#" Value="public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /><Parameter Name="sourceType" Type="System.Type" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)" /> method to determine whether the data type specified by the <paramref name="sourceType" /> parameter can be converted to a <see cref="T:System.Web.UI.WebControls.FontUnit" />.</para><block subset="none" type="note"><para> This method will return true only if the <paramref name="sourceType" /> is <see cref="T:System.String" />. The only type this converter can convert into <see cref="T:System.Web.UI.WebControls.FontUnit" /> is <see cref="T:System.String" />.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether a data type can be converted to a <see cref="T:System.Web.UI.WebControls.FontUnit" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the data type specified by the <paramref name="sourceType" /> parameter can be converted to a <see cref="T:System.Web.UI.WebControls.FontUnit" />; otherwise, false.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> implemented object that provides information about the context of a type converter. </param><param name="sourceType"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Type" /> that represents the data type to check. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CanConvertTo"><MemberSignature Language="C#" Value="public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /><Parameter Name="destinationType" Type="System.Type" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a value indicating whether the converter can convert a <see cref="T:System.Web.UI.WebControls.FontUnit" /> object to the specified type.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the converter supports converting a <see cref="T:System.Web.UI.WebControls.FontUnit" /> object to the destination type; otherwise, false.</para><block subset="none" type="note"><para>This method will return true only if the <paramref name="destinationType" /> is <see cref="T:System.String" />. The only type this converter can convert <see cref="T:System.Web.UI.WebControls.FontUnit" /> into is <see cref="T:System.String" />.</para></block></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that indicates the context of the object to convert.</param><param name="destinationType"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Type" /> that represents the data type to convert to.</param></Docs></Member><Member MemberName="ConvertFrom"><MemberSignature Language="C#" Value="public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /><Parameter Name="culture" Type="System.Globalization.CultureInfo" /><Parameter Name="value" Type="System.Object" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object)" /> method to convert the object specified by the <paramref name="value" /> parameter to a <see cref="T:System.Web.UI.WebControls.FontUnit" /> in the culture specified by the <paramref name="culture" /> parameter.</para><block subset="none" type="note"><para>If the specified object is null, the returned value is also null. Similarly, if the specified object is <see cref="F:System.String.Empty" />, <see cref="F:System.Web.UI.WebControls.FontUnit.Empty" /> is returned.</para></block><block subset="none" type="note"><para>This method can only convert a string to a  <see cref="T:System.Web.UI.WebControls.FontUnit" />.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts an object to a <see cref="T:System.Web.UI.WebControls.FontUnit" /> in a specific culture.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.Object" /> that represents the converted value.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> implemented object that provides information about the context of a type converter. </param><param name="culture"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.CultureInfo" /> that specifies the culture to represent the <see cref="T:System.Web.UI.WebControls.FontUnit" />, when it is expressed in points. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The object to convert to a <see cref="T:System.Web.UI.WebControls.FontUnit" />. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="ConvertTo"><MemberSignature Language="C#" Value="public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /><Parameter Name="culture" Type="System.Globalization.CultureInfo" /><Parameter Name="value" Type="System.Object" /><Parameter Name="destinationType" Type="System.Type" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type)" /> method to convert the <see cref="T:System.Web.UI.WebControls.FontUnit" /> specified by the <paramref name="value" /> parameter to an object with the data type specified by the <paramref name="destinationType" /> parameter.</para><block subset="none" type="note"><para><see cref="F:System.String.Empty" /> is returned from this method if the <paramref name="value" /> parameter contains null. <see cref="F:System.String.Empty" /> is also returned if the <see cref="P:System.Web.UI.WebControls.FontUnit.Type" /> property of the <see cref="T:System.Web.UI.WebControls.FontUnit" /> specified by the <paramref name="value" /> parameter contains the value FontSize.NotSet.</para></block><block subset="none" type="note"><para>This method can only convert a <see cref="T:System.Web.UI.WebControls.FontUnit" /> to a string.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Converts a <see cref="T:System.Web.UI.WebControls.FontUnit" /> to an object with a different data type.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.Object" /> that represents the converted value.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> implemented object that provides information about the context of a type converter. </param><param name="culture"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.CultureInfo" /> that specifies the culture to represent the <see cref="T:System.Web.UI.WebControls.FontUnit" />, when it is expressed in points. </param><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Object" /> that represents the <see cref="T:System.Web.UI.WebControls.FontUnit" /> to convert. </param><param name="destinationType"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Type" /> that represents the data type to convert to. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetStandardValues"><MemberSignature Language="C#" Value="public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.ComponentModel.TypeConverter+StandardValuesCollection</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext)" /> method to retrieve a <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> containing the standard values for a <see cref="T:System.Web.UI.WebControls.FontUnit" />. This collection contains all the fields in the <see cref="T:System.Web.UI.WebControls.FontUnit" /> class.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns a <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> containing the standard values for a <see cref="T:System.Web.UI.WebControls.FontUnit" />, using the specified format context.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> containing the standard values for a <see cref="T:System.Web.UI.WebControls.FontUnit" />.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides information about the context of a type converter. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetStandardValuesExclusive"><MemberSignature Language="C#" Value="public override bool GetStandardValuesExclusive (System.ComponentModel.ITypeDescriptorContext context);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext)" /> method to determine whether the <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> returned by the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext)" /> method is an exclusive list of values. This method is overridden to always return false to indicate that the list of values is not an exclusive list.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns whether the <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> returned by the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext)" /> method is an exclusive list of values, using the specified format context.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>false for all cases.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides information about the context of a type converter. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetStandardValuesSupported"><MemberSignature Language="C#" Value="public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext context);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="context" Type="System.ComponentModel.ITypeDescriptorContext" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use the <see cref="M:System.Web.UI.WebControls.FontUnitConverter.GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext)" /> method to determine whether the instance of the <see cref="T:System.Web.UI.WebControls.FontUnitConverter" /> class that this method is called from supports a standard set of values that can be picked from a list, using the specified format context. This method is overridden to always return true to indicate that this class supports a standard set of values that can be picked from a list.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns whether the instance of the <see cref="T:System.Web.UI.WebControls.FontUnitConverter" /> class that this method is called from supports a standard set of values that can be picked from a list, using the specified format context.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true for all cases.</para></returns><param name="context"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides information about the context of a type converter. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>