Telerik Forums
UI for WPF Forum
0 answers
90 views

I am trying to get the RadPane tabs to scroll when overflowed, but it isn't working. I followed the example here, but it still does not scroll when enough tabs are made visible that exceed the visible width of the tab space. I am using a User Control for the tab header content instead of the standard String.

<telerik:RadDocking.DocumentHost>
  <telerik:RadSplitContainer Orientation="Vertical">
    <!-- Main Content -->
      <telerik:RadPaneGroup x:Name="PaneGroup1" 
                            ScrollViewer.HorizontalScrollBarVisibility="Auto"
                            DropDownDisplayMode="Visible">
        <!-- Schedule -->
        <telerik:RadPane CanUserClose="False" x:Name="RadPane_ScheduleItems" IsHidden="True"
                         telerik:RadDocking.SerializationTag="ScheduleItems.HeaderObj">
          <telerik:RadPane.Header>
            <uc:RadPaneHeader x:Name="RadPaneHeader_ScheduleItems"
                              Header="Schedule Items" />
          </telerik:RadPane.Header>
            <uc:ScheduleGridView x:Name="ScheduleItems" />
        </telerik:RadPane>

Tabs before and after are attached.

Johnathan
Top achievements
Rank 1
Iron
Iron
 asked on 05 Oct 2023
1 answer
81 views

For several years I have been using the RadDesktopAlertManager in my application. Recently I noticed that it has stopped displaying the alert, but without any exceptions.

When I debug, everything works as expected, until I get to the .ShowAlert execution on the manager. Then this happens.

The rest of my code works just fine, and the only thing I am lacking is the alert... but this is of course an application wide outage.

Any ideas... missing a dll?  or....

hhgm
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 04 Oct 2023
1 answer
156 views
Hello, Im using a MultiColumnComboBox and I was wondering if there is a way to click anywhere in the combobox and open the dropdown? I tried combobox.OpenDropdown on GotFocus() but it didn't work. Currently it only opens the dropdown if I click in the button or OpenDropDownOnInput, but there is still a big blank space that does nothing if I click.
Dinko
Telerik team
 answered on 04 Oct 2023
1 answer
88 views
When I use a Hierarchical Template for generating a TreeView the branches of the TreeView wont use the entire width of the TreeView, even when I use a Grid with a column of * width.  Is there a way to get the template content to make use of the entire width?
Dinko
Telerik team
 answered on 04 Oct 2023
1 answer
92 views

I am setting both the FilterIconBackgroundFiltered and the FilterIconBackground properties on a RadVirtualGrid control in xaml. The FilterIconBackground property changes the filter icon color, but even after adding a filter to a column, the icon never changes to the FilterIconBackgroundFiltered color.

Any thoughts on why this might be happening?

Thanks!


        <tk:RadVirtualGrid x:Name="VirtualGrid"           
            FontSize="{Binding FontSize}"
            Foreground="{Binding RelativeSource={RelativeSource AncestorType={x:Type local:ParticleReportControl}}, Path=Foreground}"
            Background="{StaticResource GsBackgroundDark}"
            CanUserFilterColumns="True"
            CanUserSortColumns="True" 
            ColumnHeaderForeground="{StaticResource GsForegroundMain}"
            ColumnHeaderBackground="{StaticResource GsBackgroundDark2}"
            CellTextAlignment="Center"
            LinesVisibility="Both"
            IsFilterable="True"
            FilterIconBackgroundFiltered="Red"
            FilterIconBackground="{StaticResource GsForegroundMain}"
            HorizontalLinesBrush="{StaticResource GsForegroundMain}"
            VerticalLinesBrush="{StaticResource GsForegroundMain}"
            MeasureTextOnRender="True"
            ShowDistinctFilters="False"
            tk:RadContextMenu.ContextMenu="{StaticResource CtxMenu}"
            CellDecorationsNeeded="VirtualGrid_OnCellDecorationsNeeded"
            HeaderCellDecorationsNeeded="VirtualGrid_OnHeaderCellDecorationsNeeded"
            OverlayBrushesNeeded="VirtualGrid_OnOverlayBrushesNeeded"
            HeaderSizeNeeded="VirtualGrid_HeaderSizeNeeded"
            >
        </tk:RadVirtualGrid>

  
Dinko
Telerik team
 answered on 03 Oct 2023
0 answers
78 views

In the top right corner of my RadVirtualGrid control there is a small rectangle that gets displayed over top of the column header text. It becomes more of an issue when the horizontal scrollbar is needed, and it obscures the header caption text. Please refer to the attached images.

 

Is this a bug in the rendering code? Is there a workaround?

 

Thanks!

 

Patrick
Top achievements
Rank 1
 asked on 02 Oct 2023
2 answers
141 views

When creating a GridViewDataColumn for a RadGridView to use sometimes I want to add custom content for the header in addition to text.


<telerik:RadGridView Grid.Row="2" AutoGenerateColumns="False" >
      <telerik:RadGridView.Items>
          <TextBlock Text="1" />
          <TextBlock Text="2" />
          <TextBlock Text="3" />
      </telerik:RadGridView.Items>
      <telerik:RadGridView.Columns>
         <telerik:GridViewDataColumn Width="80"
                            HeaderTextAlignment="Center"
                            TextAlignment="Center"
                            IsFilterable="False"
                            DataMemberBinding="{Binding Path=Text}">
    <telerik:GridViewDataColumn.Header>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="auto" />
            </Grid.ColumnDefinitions>
            <TextBlock Text="Queued"
                       TextAlignment="Center"
                       VerticalAlignment="Center"
                       ToolTipService.ToolTip="The time elapsed" />
            <Path Grid.Column="1"
                  Data="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM12 17.75C12.4142 17.75 12.75 17.4142 12.75 17V11C12.75 10.5858 12.4142 10.25 12 10.25C11.5858 10.25 11.25 10.5858 11.25 11V17C11.25 17.4142 11.5858 17.75 12 17.75ZM12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7Z"
                  Stroke="#1C274C"
                  Width="12"
                  Height="12"
                  Stretch="Fill" />
        </Grid>
    </telerik:GridViewDataColumn.Header>
</telerik:GridViewDataColumn>
      </telerik:RadGridView.Columns>
  </telerik:RadGridView>

The issue is that when the column is sorted the header color is supposed to change to white (I am using the VisualStudio2019Theme)

This behavior breaks when the header is specified in this way so I was wondering what the best way to restore normal behavior is.

Masha
Telerik team
 answered on 27 Sep 2023
1 answer
131 views

Hello.

I want drag and drop from selected cells to another target cells.

Is it possible move GridView selected string data cells to another cells with drag and drop?

like attached image

Martin Ivanov
Telerik team
 answered on 26 Sep 2023
1 answer
308 views
Was wondering if this it is possible to sort based on the value displayed by displaymemberpath on my combobox column. It is populated by a Linq list where I have an ID and then usually a string that is displayed in the column but I only can get it to sort based on the underlying property aka the number and not the string value. Looking for any advice or ideas!
Dimitar
Telerik team
 answered on 25 Sep 2023
1 answer
89 views

Hello,

Can I use any method to clone RadDocument.

Before I`ve used Export -> Import using DocxFormatProvider. But this practic sometime return error (when TrackChange enabled and images were removed, then export ok, but import return MergeBoxNodes Nullreference error).

I just need to clone RadDocument to store second variant without the changes (clone and accept all changes).

Any ideas?

Dimitar
Telerik team
 answered on 25 Sep 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?