or
<telerik:RadDatePicker Grid.Row="4" Grid.Column="1" Name="DatePlanned" |
SelectedDate="{Binding SelectedDatePlanned, Mode=TwoWay}" > |
<telerik:RadDatePicker.MonthViewStyle> |
<Style> |
<Setter Property="Control.FontSize" Value="16" /> |
</Style> |
</telerik:RadDatePicker.MonthViewStyle> |
</telerik:RadDatePicker> |
Hi,
I''ve just upgraded to latest Q2 SP1 version of RadGridView and now in the WPF designer i see the following exception.
'-2' is not a valid value for property'ViewportSize'.
atSystem.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Objectvalue, PropertyMetadata metadata, Boolean coerceWithDeferredReference,OperationType operationType, Boolean isInternal) atSystem.Windows.DependencyObject.SetValue(DependencyProperty dp, Objectvalue) atSystem.Windows.Controls.Primitives.ScrollBar.set_ViewportSize(Doublevalue) atTelerik.Windows.Controls.GridView.ScrollBarStateController.UpdateScrollBar(ScrollBarscrollBar, ScrollBarProperties properties)at Telerik.Windows.Controls.GridView.GridViewScrollViewer.UpdateScrollBars() atTelerik.Windows.Controls.GridView.GridViewScrollViewer.GridViewScrollViewer_LayoutUpdated(Objectsender, EventArgs e) atSystem.Windows.ContextLayoutManager.fireLayoutUpdateEvent() atSystem.Windows.ContextLayoutManager.UpdateLayout() atSystem.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork() atSystem.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() atSystem.Windows.Media.MediaContext.RenderMessageHandlerCore(ObjectresizedCompositionTarget) atSystem.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) atSystem.Windows.Media.MediaContext.Resize(ICompositionTargetresizedCompositionTarget) atSystem.Windows.Interop.HwndTarget.OnResize()at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtrwparam, IntPtr lparam) atSystem.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd,Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) atMS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegatecallback, Object args, Boolean isSingleParameter) atSystem.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegatecallback, Object args, Boolean isSingleParameter, Delegate catchHandler)Dim dt As New DataTable |
dt.Columns.Add("Year", GetType(String)) |
dt.Columns.Add("Sales", GetType(Double)) |
dt.Rows.Add("2007", 37000) |
dt.Rows.Add("2008", 42000) |
dt.Rows.Add("2009", 47000) |
dt.Rows.Add("2010", 44000) |
With Me.RadChart1 |
Dim sm As New SeriesMapping |
sm.SeriesDefinition = New Bar3DSeriesDefinition 'BarSeriesDefinition |
sm.ItemMappings.Add(New ItemMapping("Year", DataPointMember.XCategory)) |
sm.ItemMappings.Add(New ItemMapping("Sales", DataPointMember.YValue)) |
.SeriesMappings.Add(sm) |
.ItemsSource = dt |
End With |
<telerik:RadSlider |
Minimum="0" |
Maximum="10" |
TickFrequency="1" |
IsSelectionRangeEnabled="True" |
IsSnapToTickEnabled = "True" |
MinimumRangeSpan="1" |
SelectionStart="1" |
SelectionEnd="2" |
/> |
private void RadMenuItem_Click(object sender, Telerik.Windows.RadRoutedEventArgs e) |
{ |
RadPane rp = new RadPane(); |
rp.Header = "New Foo"; |
rp.VerticalAlignment = VerticalAlignment.Top; |
rp.Name = "Foo"; |
rp.IsSelected = true; |
radPaneGroup1.AddItem(rp, Telerik.Windows.Controls.Docking.DockPosition.Center); |
Foo foo = new Foo(); |
rp.Content = foo; |
} |
foreach (RadPane pane in radPaneGroup1.Items) |
{ |
pane.Focus(); |
} |