Telerik Forums
UI for WPF Forum
1 answer
232 views

The Week is started at the start of the month but not ended at end of the month.
Is it possible to do it? 

 

Code :

        <telerik:RadGanttView x:Name="ganttView" TasksSource="{Binding Tasks}" VisibleRange="{Binding VisibleRange}">
            <telerik:RadGanttView.TimeRulerLines>
                <telerik:GroupTickLine>
                    <telerik:TickInterval Interval="OneMonth" />
                </telerik:GroupTickLine>
                <telerik:GroupTickLine>
                    <local:WeekTickInterval Interval="OneWeek" />
                </telerik:GroupTickLine>
                <telerik:MajorTickLine>
                    <telerik:TickInterval Interval="OneDay"  />
                </telerik:MajorTickLine>
            </telerik:RadGanttView.TimeRulerLines>
            <telerik:RadGanttView.Columns>
                <telerik:TreeColumnDefinition Header="Project" Width="AutoHeaderAndContent" MinWidth="200"/>
            </telerik:RadGanttView.Columns>
        </telerik:RadGanttView>

Martin Ivanov
Telerik team
 answered on 15 Jul 2021
0 answers
191 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
119 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
171 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
192 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
117 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
461 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
390 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
279 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
242 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
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?