or

[CanConvert(typeof(System.String), typeof(System.Nullable<double>))]public class StringToNullableDouble : IValueConverter{ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { string s = value as string; if (s == null) return null; double d; if (Double.TryParse(s, out d)) return d; return null; } public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { double? d = value as double?; if (d == null || !d.HasValue) return null; return d.Value.ToString(); }}<tel:RadMaskedNumericInput HorizontalAlignment="Left"VerticalAlignment="Center" EmptyContent="Enter Phone" Width="120" Margin="2"Mask="(###) ###-####"Value="{Binding Path=Customer.Phone, ValidatesOnDataErrors=True, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"FontWeight="Bold"AllowInvalidValues = "False" AutoFillNumberGroupSeparators = false; AutoFillZeros = "False"FlowDirection = "LeftToRight" Precision = "0" HorizontalContentAlignment = "Left"TextMode = "MaskedText"SpinMode = "None"/><telerik:LineSeries Stroke="#FF51B0DD" StrokeThickness="2" Opacity="0.6"/><StackPanel Margin="3">
<telerik:RadRibbonButton SmallImage="Images/16/Cut.png" Text="Cut" Command="Cut"/>
<telerik:Separator />
<telerik:RadRibbonButton SmallImage="Images/16/Copy.png" Text="Copy" Command="Copy" />
</StackPanel>
The panel is in a Ribbon group, itself in a Ribbon Tab.
The Separator does not show in the Visual Studio Editor (it is selectable but not visisble) and it does not show at run time.
Giving the Separator a width and height makes it visible at design time but not at design time.
Any help will be appreciated
<Window x:Class="WpfApplication1.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Height="100" Width="100"> <telerik:RadBusyIndicator> <telerik:RadNumericUpDown /> </telerik:RadBusyIndicator></Window>
private void AddImages(List<byte[]> productImages)}
{foreach (var item in productImages)
{
this.rtbEditor.InsertImage(new MemoryStream(item),"png");
this.rtbEditor.Insert(" ");
}