DotNet 4.8.1 build of DotNetBar
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
|
||||
namespace DevComponents.DotNetBar.Charts.Primitives
|
||||
{
|
||||
#region BlankExpandableObjectConverter
|
||||
|
||||
///<summary>
|
||||
/// BlankExpandableObjectConverter
|
||||
///</summary>
|
||||
public class BlankExpandableObjectConverter : ExpandableObjectConverter
|
||||
{
|
||||
///<summary>
|
||||
/// ConvertTo
|
||||
///</summary>
|
||||
///<param name="context"></param>
|
||||
///<param name="culture"></param>
|
||||
///<param name="value"></param>
|
||||
///<param name="destinationType"></param>
|
||||
///<returns></returns>
|
||||
public override object ConvertTo(
|
||||
ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
|
||||
{
|
||||
if (destinationType == typeof(string))
|
||||
return (" ");
|
||||
|
||||
return (base.ConvertTo(context, culture, value, destinationType));
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
Reference in New Issue
Block a user