Telerik Forums
UI for WPF Forum
1 answer
486 views
I have some RadGridViews in a Grid with some other controls,once I add enough rows in the GrdSupplyAirAnalysis data grid the last row(s) start to cut off.  If I have 125 rows or more several rows are completely cut off.  The scrollbar has no effect, it doesn't think that it is necessary as it is disabled with set to visible.

 

How can I configure this so that the full contents are viewable, whether by having the parent grid's cell expand to accommodate it or have the scroll bar actually be scrollable?

 

Any help here would be greatly appreciated!

 

Thanks!

 

<controls:ReportTabBase x:Class="AtcReportManager.Controls.Cleanrooms.CleanroomRoomView"
        xmlns:local="clr-namespace:AtcReportManager.Controls.Reports"
        xmlns:cr="clr-namespace:AtcReportManager.Controls.Cleanrooms"
        xmlns:rc="clr-namespace:AtcReportManager.Controls.ReportComponents"
        xmlns:converters="clr-namespace:AtcReportManager.Converters"                        
        xmlns:fh="clr-namespace:AtcReportManager.Controls.FumeHoodComponents"
        xmlns:controls="clr-namespace:AtcReportManager.Controls"
        mc:Ignorable="d" d:DesignHeight="600" d:DesignWidth="1400"
        Height="auto" Width="auto" Header="{Binding RoomName}">
    <controls:ReportTabBase.Resources>
        <Thickness x:Key="LabelMargin">5,0,0,0</Thickness>
    </controls:ReportTabBase.Resources>
    <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
                <RowDefinition Height="auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            <controls:ReportLabelTextBlock Grid.Row="0" Grid.Column="0" Text="Room Name" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding RoomName}" HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Stretch"/>
            <controls:ReportLabelTextBlock Grid.Row="0" Grid.Column="2" Text="Room Area (ft2)" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBox Grid.Row="0" Grid.Column="3"  HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center" MinWidth="30" Margin="{StaticResource StdRptMargin}">
                <TextBox.Text>
                    <Binding Path="RoomAreaSqFt">
                        <Binding.Converter>
                            <converters:DoubleToDisplayConverter NumDecimals="2"/>
                        </Binding.Converter>
                    </Binding>
                </TextBox.Text>
            </TextBox>
            <controls:ReportLabelTextBlock Grid.Row="0" Grid.Column="4" Text="Room Volume (ft3)" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBox Grid.Row="0" Grid.Column="5"  HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center" MinWidth="30" Margin="{StaticResource StdRptMargin}">
                <TextBox.Text>
                    <Binding Path="RoomVolumeCubicFeet">
                        <Binding.Converter>
                            <converters:DoubleToDisplayConverter NumDecimals="2"/>
                        </Binding.Converter>
                    </Binding>
                </TextBox.Text>
            </TextBox>
            <controls:ReportLabelTextBlock Grid.Row="1" Grid.Column="0" Text="Pressure Type" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <telerik:RadComboBox Grid.Row="1" Grid.Column="1" ItemsSource="{Binding AvailablePressureTypes}" SelectedValue="{Binding PressureType}" VerticalAlignment="Center" MinWidth="30"
                      Margin="{StaticResource StdRptMargin}" HorizontalContentAlignment="Center" SelectedValuePath="Key" DisplayMemberPath="Value"/>
            <controls:ReportLabelTextBlock Grid.Row="1" Grid.Column="2" Text="Occupancy Mode" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <telerik:RadComboBox Grid.Row="1" Grid.Column="3" ItemsSource="{Binding AvailableOccupancyModeTypes}" SelectedValue="{Binding OccupancyMode}" VerticalAlignment="Center" MinWidth="30"
                      Margin="{StaticResource StdRptMargin}" HorizontalContentAlignment="Center" SelectedValuePath="Key" DisplayMemberPath="Value"/>
            <controls:ReportLabelTextBlock Grid.Row="1" Grid.Column="4" Text="ISO Class" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <telerik:RadComboBox Grid.Row="1" Grid.Column="5" ItemsSource="{Binding AvailableIsoClassTypes}" SelectedValue="{Binding IsoClass}" VerticalAlignment="Center" MinWidth="30"
                      Margin="{StaticResource StdRptMargin}" HorizontalContentAlignment="Center" SelectedValuePath="Key" DisplayMemberPath="Value"/>
            <CheckBox Grid.Row="2" Grid.Column="0" IsChecked="{Binding CertifiedToIso14644}"   Content="ISO 14644-1" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top"/>
            <CheckBox Grid.Row="2" Grid.Column="1" IsChecked="{Binding CertifiedToCag003}" Content="CAG-003-2006" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top"/>
            <CheckBox Grid.Row="2" Grid.Column="2" IsChecked="{Binding IncludeLight}"   Content="Include Light" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top"/>
            <CheckBox Grid.Row="2" Grid.Column="3" IsChecked="{Binding IncludeSound}" Content="Include Sound" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top"/>
            <controls:ReportLabelTextBlock Grid.Row="3" Grid.Column="0" Text="# PC Locations" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBox Grid.Row="3" Grid.Column="1"  HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center" MinWidth="30" Margin="{StaticResource StdRptMargin}">
                <TextBox.Text>
                    <Binding Path="NumPcCounts">
                        <Binding.Converter>
                            <converters:IntToNAConverter />
                        </Binding.Converter>
                    </Binding>
                </TextBox.Text>
            </TextBox>
 
            <CheckBox Grid.Row="3" Grid.Column="3" IsChecked="{Binding IsPaoChallenge}"   Content="PAO Challenge" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Checked="WhenPaoCheckChanged" />
            <CheckBox Grid.Row="3" Grid.Column="4" IsChecked="{Binding IsPslChallenge}"   Content="PSL Challenge" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Checked="WhenPslCheckChanged"/>
            <CheckBox Grid.Row="3" Grid.Column="5" IsChecked="{Binding DoLeakTest}"   Content="No Challenge" HorizontalAlignment="Left" Margin="0" VerticalAlignment="Top" Checked="WhenDoLeakTestCheckChanged"/>
            <!--<RadioButton Grid.Row="3" Grid.Column="3" GroupName="LeakChallenge" Content="PAO Challenge" IsChecked="{Binding IsPaoChallenge}"/>
            <RadioButton Grid.Row="3" Grid.Column="4" GroupName="LeakChallenge" Content="PSL Challenge" IsChecked="{Binding IsPsLChallenge}"/>
            <RadioButton Grid.Row="3" Grid.Column="5" GroupName="LeakChallenge" Content="No Challenge" IsChecked="{Binding DoLeakTest}"/>-->
 
            <controls:ReportLabelTextBlock Grid.Row="4" Grid.Column="0" Text="Temperature (°F)" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBox Grid.Row="4" Grid.Column="1"  HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center" MinWidth="30" Margin="{StaticResource StdRptMargin}">
                <TextBox.Text>
                    <Binding Path="TemperatureDegreesFahrenheit">
                        <Binding.Converter>
                            <converters:DoubleToDisplayConverter NumDecimals="2"/>
                        </Binding.Converter>
                    </Binding>
                </TextBox.Text>
            </TextBox>
            <controls:ReportLabelTextBlock Grid.Row="4" Grid.Column="2" Text="Relative Humidity (%)" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBox Grid.Row="4" Grid.Column="3"  HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center" MinWidth="30" Margin="{StaticResource StdRptMargin}">
                <TextBox.Text>
                    <Binding Path="RelativeHumidityPct">
                        <Binding.Converter>
                            <converters:DoubleToDisplayConverter NumDecimals="2"/>
                        </Binding.Converter>
                    </Binding>
                </TextBox.Text>
            </TextBox>
 
            <controls:ReportLabelTextBlock Grid.Row="4" Grid.Column="4" Text="# Laskin Nozzles" Margin="{StaticResource LabelMargin}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
            <TextBox Grid.Row="4" Grid.Column="5"  HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center" MinWidth="30" Margin="{StaticResource StdRptMargin}">
                <TextBox.Text>
                    <Binding Path="NumLaskinNozzles">
                        <Binding.Converter>
                            <converters:IntToNAConverter />
                        </Binding.Converter>
                    </Binding>
                </TextBox.Text>
            </TextBox>
 
            <Grid Grid.Row="5" Grid.ColumnSpan="10">
                <Grid.RowDefinitions>
                    <RowDefinition Height="auto" />
                    <RowDefinition Height="auto" />
                    <RowDefinition Height="auto" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <Border Grid.Row="0" Grid.Column="0"  BorderBrush="{DynamicResource StdBorderBrush}" BorderThickness="2 2 2 0"/>
                <Border Grid.Row="1" Grid.Column="0"  BorderBrush="{DynamicResource StdBorderBrush}" BorderThickness="2"/>
                <controls:ReportComponentHeaderTextBlock Grid.Row="0" Grid.Column="0"  Margin="{StaticResource StdRptMargin}"
                   Text="Particle Count Analysis" HorizontalAlignment="Center" VerticalAlignment="Center" />
                <controls:ReportComponentHeaderTextBlock Grid.Row="0" Grid.Column="1"  Margin="{StaticResource StdRptMargin}"
                   Text="Supply Air Analysis" HorizontalAlignment="Center" VerticalAlignment="Center" />
                <telerik:RadGridView x:Name="GrdPcAnalysis" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="1" HorizontalAlignment="Stretch" Margin="{StaticResource StdRptMargin}"
                                 IsFilteringAllowed="False" AutoGenerateColumns="False" CanUserInsertRows="True" CanUserDeleteRows="True" NewRowPosition="Top"
                                 CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserSortGroups="False" ShowGroupPanel="False"
                                 AddingNewDataItem="WhenNewPcObjectItemAdded" RowEditEnded="WhenParticleCountRowEditEnded">
                    <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn Header="Location" DataMemberBinding="{Binding ParticleCountId}" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center" />
                        <telerik:GridViewDataColumn Header="µm/ft3 >= 0.5" DataMemberBinding="{Binding PcPoint5CountMicroMeterPerCubicFeet, Converter={converters:DoubleToNAConverter}}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="µm/m3 >= 0.5" DataMemberBinding="{Binding PcPoint5CountMicroMeterPerCubicMeter, Converter={converters:DoubleToIntConverter}}" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="µm/ft3 >= 5.0" DataMemberBinding="{Binding Pc5PointCountMicroMeterPerCubicFeet, Converter={converters:DoubleToNAConverter}}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="µm/m3 >= 5.0" DataMemberBinding="{Binding Pc5PointCountMicroMeterPerCubicMeter, Converter={converters:DoubleToIntConverter}}" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="Light (ft cd)" DataMemberBinding="{Binding LightFtCandles, Converter={converters:DoubleToIntConverter}}" IsVisible="{Binding IncludeLight}"  HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="Sound dbA" DataMemberBinding="{Binding SounddbA, Converter={converters:DoubleToIntConverter}}" IsVisible="{Binding IncludeSound}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                    </telerik:RadGridView.Columns>
                </telerik:RadGridView>
                <Border Grid.Row="0" Grid.Column="1"  BorderBrush="{DynamicResource StdBorderBrush}" BorderThickness="2 2 2 0"/>
                <Border Grid.Row="1" Grid.Column="1" Grid.RowSpan="2"  BorderBrush="{DynamicResource StdBorderBrush}" BorderThickness="2"/>
                <telerik:RadGridView x:Name="GrdSupplyAirAnalysis" Grid.Row="1" Grid.Column="1" Grid.RowSpan="2" HorizontalAlignment="Stretch" Margin="{StaticResource StdRptMargin}"
                                 IsFilteringAllowed="False" AutoGenerateColumns="False" CanUserInsertRows="True" CanUserDeleteRows="True" NewRowPosition="Top"
                                 CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserSortGroups="False" ShowGroupPanel="False"
                                 BeginningEdit="GrdSupplyAirAnalysisBeginningEdit" CellEditEnded="GrdSupplyAirAnalysisCellEditEnded"
                                 AddingNewDataItem="WhenNewSupplyFilterDataItemAdded" RowEditEnded="WhenSupplyFilterRowEditEnded"
                                 ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Visible">
                    <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn Header="Location" DataMemberBinding="{Binding FilterId}" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="V.G. 1" DataMemberBinding="{Binding VelGridReading1, Converter={converters:DoubleToNAConverter}}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="V.G. 2" DataMemberBinding="{Binding VelGridReading2, Converter={converters:DoubleToNAConverter}}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="Filter Area (ft2)" DataMemberBinding="{Binding FilterAreaSqFt, Converter={converters:DoubleToNAConverter}}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="RSD" DataMemberBinding="{Binding RelativeStandardDeviation, Converter={converters:RsdConverter}}" IsReadOnly="True" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="CFM" DataMemberBinding="{Binding FilterCfm, Converter={converters:DoubleToIntConverter}}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="Leak Challenge" DataMemberBinding="{Binding PslDisplayString}" IsReadOnly="True" IsVisible="{Binding IsPslChallenge}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="Leak Challenge" DataMemberBinding="{Binding FilterLeakChallengeMicroGramsPerLiter, Converter={converters:LeakChallengeConverter}}" IsReadOnly="True" IsVisible="{Binding IsPaoChallenge}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                        <telerik:GridViewDataColumn Header="% Leak Detected" DataMemberBinding="{Binding SigLeakDetectedPct, Converter={converters:DoubleToNAConverter}}" IsVisible="{Binding ShowLeakTestResult}" HeaderTextAlignment="Center" TextAlignment="Center"/>
                    </telerik:RadGridView.Columns>
                </telerik:RadGridView>
                <cr:RoomRemarksView x:Name="RemarksView"  Grid.Row="2" Grid.Column="0" Margin="{StaticResource StdRptMargin}"/>
                <telerik:RadExpander Header="Validation" Grid.Row="3" IsExpanded="{Binding IsValidationSectionExpanded}"
                             Grid.ColumnSpan="20" telerik:AnimationManager.IsAnimationEnabled="True" Visibility="Visible">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <telerik:RadGridView x:Name="GrdValidation" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="5" HorizontalAlignment="Stretch" Margin="{StaticResource StdRptMargin}"
                                     IsFilteringAllowed="False" AutoGenerateColumns="False" CanUserInsertRows="False" CanUserDeleteRows="False" NewRowPosition="Top"
                                     CanUserFreezeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserSortGroups="False" ShowGroupPanel="False">
                            <telerik:RadGridView.Columns>
                                <telerik:GridViewDataColumn Header="Component" DataMemberBinding="{Binding Component}"/>
                                <telerik:GridViewDataColumn Header="Element" DataMemberBinding="{Binding ValidationItemName}"/>
                                <telerik:GridViewDataColumn Header="Issue" DataMemberBinding="{Binding ValidationFailureDescription}"/>
                                <telerik:GridViewDataColumn Header="Severity" DataMemberBinding="{Binding ValidationResult}"/>
                            </telerik:RadGridView.Columns>
                        </telerik:RadGridView>
                    </Grid>
                </telerik:RadExpander>
            </Grid>
        </Grid>
    </ScrollViewer>
</controls:ReportTabBase>

Dilyan Traykov
Telerik team
 answered on 28 Mar 2016
1 answer
99 views
Hi, I'm using the default OpenDocumentCommand to open a file, I was wondering is there a way to get that file name and save it to a public variable? 
Tanya
Telerik team
 answered on 28 Mar 2016
1 answer
131 views
i want add RangeBarSeries in CategoricalSeriesDescriptor.

This is possible?

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Mar 2016
1 answer
272 views

Hi

Could anyone give me a WPF example of using the RadWizardCommands? I have defined the wizard in XAML and would like to receive the commands (MoveCurrentToNext, Finish, etc.) in the view model.

Thank you.

Adrian

Stefan
Telerik team
 answered on 28 Mar 2016
5 answers
278 views
Do all Telerik WPF controls comply with Section 508?
Yana
Telerik team
 answered on 28 Mar 2016
2 answers
240 views
Hi! Can anybody tell me which MVVM framework is more comfortable to build a WPF application where DevCraft Complete library is used ? I'm interested in Prizm and Catel. So which one of them is more convenient when DevCraft Complete library is used ? Your help and tips will be appreciated highly.
Eugene
Top achievements
Rank 1
 answered on 28 Mar 2016
2 answers
127 views
I have an WPF MVVM Catel project with five Views: View_1, View_2, View_3, View_4 and View_5. Each View is implemented as catel:UserControl and has appropriate Model and ViewModel. There is a telerik:RadCartesianChart presenting diagram changing in real time in each View. There is also a catel:Window in my application that is the application main window. There is RadPanelBar in the application main window XAML. This RadPanelBar has five instances of telerik:RadPanelBarItem in XAML. I'm in need of binding of each telerik:RadPanelBarItem to appropriate View. For example: first RadPanelBarItem to View_1, the second one to View_2 e.t.c. Please give me a reference to example of that binding. Thank you very much in advance.
Eugene
Top achievements
Rank 1
 answered on 28 Mar 2016
3 answers
3.4K+ views

.I have the following error when I use RadChartView: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll with message: "Could not load file or assembly Telerik.Windows.Controls.Chart, PublicKeyToken=5803cfa389c90ce7 or one of its dependencies. The system cannot find the file specified". Below is UserControl XAML code where the exception is thrown.

<UserControl x:Class="DeviceStatus.Views.DeviceStatusView"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:prism="http://prismlibrary.com/"             
             prism:ViewModelLocator.AutoWireViewModel="True">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>

        <Label Grid.Row="0" Grid.Column="0" Content="Состояние прибора" VerticalAlignment="Bottom"/>
        <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding DeviceStatusModel.Header}" AutomationProperties.AutomationId="DeviceStatusTextBox"/>

        <telerik:RadCartesianChart Grid.Row="1" Grid.Column="0">
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:LinearAxis/>
            </telerik:RadCartesianChart.HorizontalAxis>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis/>
            </telerik:RadCartesianChart.VerticalAxis>
        </telerik:RadCartesianChart>

    </Grid>
</UserControl>

I develop my WPF MVVM application using Prism 6. I use MS VS 2015 Professional as IDE. I had created the my app solution and shell project there using Prism Template Pack. The type of solution is Prism Unity App. After its creation I added Prism Module (WPF) and then added Prism UserControl (WPF) in Views folder of the Prism Module. XAML markup of this UserControl is shown above. Why does this error occur? Please help me eliminate it.

Eugene
Top achievements
Rank 1
 answered on 28 Mar 2016
1 answer
184 views

Hi!

I had a trouble as the following.

Simply make a WPF app and work fine with RadWindow.Alert('good').

But, It freeze my app(nothing I can control, it just was frozen) when I have a breakpoint before showing radwindow. Could I fix it?

  private void button_Click(object sender, RoutedEventArgs e)
  {
   Debugger.Break();
   RadWindow.Alert("freeze");
  }

 

Best regards

Nasko
Telerik team
 answered on 28 Mar 2016
2 answers
224 views

Hi, I am using the implicit style "VisualStudio2013" and I want to change the appearance of an entire window based upon whatever preset I've loaded.

For some reason, when I load the presets, only the RadButtons and the RadPropertyGrid change their appearance. Everything else (RadGridView, RadTreeListView, RadMenu) just keep the standard theme.

What extra steps do I need to take to fix this?

Many thanks,

M.Young

Class MainWindow 
 Private Sub RadButton_Click(sender As Object , e As RoutedEventArgs)    Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Light)
 End Sub
 
Private Sub RadButton_Click_1(sender As Object , e As RoutedEventArgs) Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Dark)<End Sub
 
Private Sub RadButton_Click_2(sender As Object , e As RoutedEventArgs)     Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Blue)End Sub
End Class

<Window x:Class="MainWindow"
xmlns:telerikcontrols="clr-namespace:Telerik.Windows;assembly=Telerik.Windows.Controls"
Title="MainWindow" Height="350" Width="857.951">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="147*"></RowDefinition>
</Grid.RowDefinitions>
<telerik:RadMenu>
<telerik:RadMenu.Items>
<telerik:RadMenuItem Header="Test">
<telerik:RadMenuItem Header="Test">
</telerik:RadMenuItem>
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Test">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Test">
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="Test">
</telerik:RadMenuItem>
</telerik:RadMenu.Items>
</telerik:RadMenu>
<StackPanel Orientation="Horizontal" Grid.Row="1" Margin="10">
<telerik:RadButton Width="100" Content="Light" Click="RadButton_Click"></telerik:RadButton>
<telerik:RadButton Width="100" Content="Dark" Click="RadButton_Click_1"></telerik:RadButton>
<telerik:RadButton Width="100" Content="Blue" Click="RadButton_Click_2"></telerik:RadButton>
<telerik:RadPropertyGrid Width="150" />
<telerik:RadGridView Width="150"/>
<telerik:RadTreeListView Width="150"/>
</StackPanel>
</Grid>
 </Window>

Hazy
Top achievements
Rank 1
 answered on 26 Mar 2016
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?