Telerik Forums
UI for WPF Forum
0 answers
154 views

Hi,

I use RadTabbedWindow and some items should be hidden in some cases. But if I set visibility Collapsed for such items empty space in tabs panel is exists anyway (See attached pic). How I can avoid it?

Is it possible not to set ItemWidth and ItemMinWidth or set auto width for them to get something like in usual tabcontrol where items width changes with its content?

Best regards,

Julia

 

 

Julia
Top achievements
Rank 1
 asked on 15 Jul 2021
0 answers
92 views

Hi Telerik,

I have the same needs as below:

Nested ColumnGroups in UI for WPF | Telerik Forums

Do we have solution for this now?

Lily
Top achievements
Rank 1
 asked on 15 Jul 2021
0 answers
124 views

Hi All,

We are using 2016.1.217.45 version of Telerik. We are setting the row height based on the value selected in the combo box. 

While loading the content, application freezes. It seems to be issue with scroll functionality. Below are our observations:

  1. When RadGridView row height is set to 17 application freezes.
  2. When I removed the RowHeight change completed no freeze is observed.
  3. When I change the RowHeight to 18 no freeze is observed.
  4. When I leave the RowHeight as 17 and disabled the Row virtualisation for RadGridView no freeze is observed.

Could you please suggest why application freezes when setting the RowHeight as 17?


 <telerik:RadGridView Name="GridViewMain" Grid.Row="2" AutoGenerateColumns="False" ShowColumnHeaders="False" SelectionUnit="FullRow" SelectionMode="Extended" 
                                 CanUserDeleteRows="False" CanUserInsertRows="False" CanUserFreezeColumns="False" GridLinesVisibility="None"                                 
                                 ShowGroupPanel="False" RowIndicatorVisibility="Collapsed"  IsFilteringAllowed="False"
                                    AlternationCount="2" ValidatesOnDataErrors="InEditMode" EditTriggers="None" >

                <telerik:RadGridView.Style>
                    <Style TargetType="{x:Type telerik:RadGridView}">
                        <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource TelerikWin7Theme}"/>
                        <Setter Property="GridLinesVisibility" Value="None"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value=".5">
                                <Setter Property="RowHeight" Value="17" />
                            </DataTrigger>
                            <DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value=".75">
                                <Setter Property="RowHeight" Value="17" />
                            </DataTrigger>
                            <DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value="1">
                                <Setter Property="RowHeight" Value="17" />
                            </DataTrigger>
                            <DataTrigger Binding="{Binding SelectedItem.Tag, Source={x:Reference ComboBoxZoom}, Mode=OneWay}" Value="1.25">
                                <Setter Property="RowHeight" Value="22" />
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </telerik:RadGridView.Style>

 

Thanks in advance,

Manohar

Manohar
Top achievements
Rank 1
 asked on 14 Jul 2021
1 answer
142 views

I tried to reset Thumbnail as below code snippet, but it doesn't work as I expected.

this.xNavigationPane.Diagram = null;
this.xNavigationPane.RefreshThumbnail();

Could you show me how to make it like no RadDiagram is attached to RadDiagramNavigationPane? Like below screenshot,

Thanks!

Aeroth

Vladimir Stoyanov
Telerik team
 answered on 14 Jul 2021
1 answer
90 views

I recently upgraded my WPF app to the latest controls (as of 07.2021) and my Row Details seem to have stopped working. Nothing displays at all.  It seems like maybe I'm missing a style resource.  What theme resource files are required for rowdetails to display?

Are there any known bugs related to RowDetails in the latest release?

 

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Jul 2021
2 answers
416 views

Hi Team,

We need to display the multiple different property values in a same column definition. Bind each property in seperate textblock and also have to show the tooltip with respective details. Please refer the attached screenshot, which we are looking for it.

 

Please help us to sort it.

Premkumar
Top achievements
Rank 1
Iron
Iron
 answered on 14 Jul 2021
1 answer
344 views

I am Inserting placeholder (text data) from ListBox (double click and drag/drop) into RadRichtextBox.

In document section I can insert Placeholders in editor by 


radRichTextBoxEditor.Insert($"{{{{{lookup.Code}}}}}");

Now I want to insert text in Header/Footer in current CaretPoistion.

1. How I can Identify that Header/Footer or main document section is currently active

2. How to insert text in header if Caret Position in header, and same for footer

Tanya
Telerik team
 answered on 13 Jul 2021
1 answer
212 views

I'm creating the shapes, connections programmatically based on my custom configuration file.

I'd like to change the Text color of RadDiagramConnection based on its value, like: OK-> Black; NG-> Red

See below screenshot,

Could you show me how to do it? Thanks!

Stenly
Telerik team
 answered on 13 Jul 2021
2 answers
177 views

I Want to Change Color of Shapes Background.

So, I tried change backgound of SelectedItem(SelectedShape) in ViewModel. then, Not changed. 

I checked SelectedShape background property.

It changed.

but Not in the View.

And I tried using behind-code. but I failed.

there's My Code.

1.XAML

<telerik:RadDiagram x:Name="diagram" GraphSource="{Binding GraphSource}" SelectedItem="{Binding SelectedShape, Mode=TwoWay}"

<telerik:RadDiagram.ShapeStyle>
      <Style TargetType="telerik:RadDiagramShape">
           <Setter Property="Position" Value="{Binding Position, Mode=TwoWay}"/>
           <Setter Property="Geometry" Value="{Binding Geometry, Mode=TwoWay}"/>
           <Setter Property="Background" Value="{Binding Background, Mode=TwoWay}"/>
        </Style>
</telerik:RadDiagram.ShapeStyle>

<telerik:RadButton Width="100" Height="30" Content="ChangeColor" Command="{Binding ColorCommand}"/>

 

 

2. ViewModel

private void ChageBrush(object param)
        {
selectedShape.Background = new BrushConverter().ConvertFromString(SelectedBrushColor) as SolidColorBrush;
}

 

thanks.

kim
Top achievements
Rank 1
Iron
 answered on 13 Jul 2021
2 answers
194 views

This is odd, I am using the latest SP1 libraries and have followed all the steps and only see this in the WPF application. The Activities column should look like a drop-down combo box when the green checkbox is showing. Obviously, I am missing something, but not sure what it is. I hope I can look at it fresh in the morning and figure it out, but if there are tips, please let me know.

My XAML has this definition for the column:

<telerik:GridViewComboBoxColumn Header="Activities" Width = "271" DataMemberBinding = "{Binding Description}" SelectedValueMemberPath = "SicCodeValue" DisplayMemberPath = "SicCodeDescription" IsLightweightModeEnabled="true" IsComboBoxEditable="True">
</telerik:GridViewComboBoxColumn>


and I set up my itemssource via code using the following line on data load:

(this.myList.Columns[2] as GridViewComboBoxColumn).ItemsSource = (ViewModel as MyViewModel).SicCodes;
Martin Ivanov
Telerik team
 answered on 12 Jul 2021
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?