Telerik Forums
UI for WPF Forum
2 answers
232 views

I created a simple grid with a GridViewDataColumn bound to a DateTime property.

        <telerik:GridViewDataColumn DataMemberBinding="{Binding Date}" DataFormatString="{} {0:dd.MM.yyyy}"/>

Using Office2019 Theme (NoXaml packages), when the picker area is expanded, cell area is empty, no current date value visible while modifying the picker:

It seems to be "white on white", this appears when you select the cell areas where the date parts should be located:

The date shows up as expected after leaving the cell.

Switching to Office2016 Theme, everything is fine:

This might be an issue with the specific Theme

Thanks,

Jens


Masha
Telerik team
 answered on 17 Dec 2021
1 answer
252 views

Hi,

I've got a simple RadScheduleView which is displayed as a Week view only. I want to add a button to the Day Header which provides some custom "Lock" logic for that day. However, no matter what I do, the button in the header is always disabled.

Is there any way that I can achieve this?

My code:

<telerik:RadScheduleView AppointmentsSource="{Binding Items}">
    <telerik:RadScheduleView.GroupHeaderContentTemplate>
        <DataTemplate>
            <Grid>
                <TextBlock Text="{Binding Name, StringFormat=dd dddd}" HorizontalAlignment="Center" VerticalAlignment="Center"/
                <Button Content="🔓" HorizontalAlignment="Right" IsEnabled="True" />
            </Grid>
        </DataTemplate>
    </telerik:RadScheduleView.GroupHeaderContentTemplate>
    <telerik:RadScheduleView.ViewDefinitions>
        <telerik:WeekViewDefinition  />
    </telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>
Thanks in advance
Stenly
Telerik team
 answered on 16 Dec 2021
1 answer
155 views

Is there a SelectionBoxTemplate for the RadGridView GridViewComboBoxColumn? I saw a template that was posted in the forum area from a while ago, but when I tried it in one of the latest Telerik libraries, it doesn't work?

 


 <telerik:GridViewComboBoxColumn Header="Sic Code"
                                                    IsComboBoxEditable="true"
                                                    DataMemberBinding = "{Binding SicCodeID}"
                                                    ItemsSource="{Binding Current.SicCodes, Source={StaticResource Lookups}}"
                                                    DisplayMemberPath="SicCodeValue"
                                                    SelectedValueMemberPath="SicCodeID"  
                                                    EditTriggers="CellClick"
                                                    LostFocus="GridViewComboBoxColumn_LostFocus"
                                                    TextSearch.TextPath="SicCodeValue"
                                                    Width="226">
                            <telerik:GridViewComboBoxColumn.EditorStyle>
                            <Style TargetType="telerik:RadComboBox">
                                <Setter Property="ClearSelectionButtonVisibility" Value="Visible" />
                                <Setter Property="ClearSelectionButtonContent" Value="Clear" />
                                <Setter Property="Foreground" Value ="Black" />
                                <Setter Property="DropDownWidth" Value ="480" />
                                <Setter Property="OpenDropDownOnFocus" Value="True"/>
                                <Setter Property="SelectionBoxTemplate">
                                    <Setter.Value>
                                        <DataTemplate >
                                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
                                                <TextBlock Text="{Binding SicCodeValue}" Width="70" />
                                                <TextBlock Text="{Binding SicCodeDescription}" Width="370"/>
                                            </StackPanel>
                                        </DataTemplate>
                                    </Setter.Value>
                                </Setter>
                                <Setter Property="ItemTemplate">
                                    <Setter.Value>
                                        <DataTemplate >
                                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
                                                <TextBlock Text="{Binding SicCodeValue}" Width="70" />
                                            </StackPanel>
                                        </DataTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </telerik:GridViewComboBoxColumn.EditorStyle>
                    </telerik:GridViewComboBoxColumn>

 

Any idea's?

Paul

Stenly
Telerik team
 answered on 16 Dec 2021
1 answer
215 views

Hi Telerik Team,

We have a requirement where we need to display more columns in a wrapped manner.

The row cells should also be wrapped corresponding to the columns.

I hope the winforms is having this kind of feasibility.

I would like to have it in WPF as well.

Please let me know the solution.

Attachment for your reference.

Martin Ivanov
Telerik team
 answered on 16 Dec 2021
1 answer
170 views

Hi guys,

I have a small testproject where I want do display a few projects with appointments.
I wanted to use the Group functionality together with resourcetypes.

Now everything works but not in the inital loading. Somehow the Group part on the left side is not displayed.
After pressing the button "aktualisieren" it displays as intended.

I tried to call the aktualisieren after loading of the window, but same, it stays empty at first.

I attached the project.
Maybe someone has an idea what causes this.

 

Greetings.

 

Stenly
Telerik team
 answered on 16 Dec 2021
1 answer
230 views

I am changing TrackBallTemplate and I want to get the following result:

I changed the palette to a custom palette using PaletteEntryCollection SeriesFamily = "Line" and ChartPalette.GlobalEntries

I am using ChartSeriesProvider and style TargetType = "telerik: LineSeries"

But from the DataContext of the TrackBallTemplate, I cannot find the brushes...

StrokeShapeStyle returns not my color: #FF5AA4D4
LegendItem is not available

 

How do I get the line brushes I need?
Thank you

 

------------------
WPF v.2021.1.325

Martin Ivanov
Telerik team
 answered on 16 Dec 2021
1 answer
165 views

Hello.

 

I develop other program modules.

There was a problem using the UI component telerik here.

When executing the main program with each different project, module A and module B are executed.
At this point, the telerik assembly starts loading.

In A, the telerik version is 2021.2.615.45, and B is 2021.3.1025.45. (different versions)
And when I run A and B in the main program, the screen of A is not shown and only B is shown.


That is, my guess is that only the last loaded telerik assembly will be recognized.
Is there any way to solve this?

summary) When loading two versions of telerik in one program, one screen is blank.

Thanks.

Martin Ivanov
Telerik team
 answered on 16 Dec 2021
1 answer
200 views

Hi, trying to speed up the points-plot (around 1000-5000 points)

I can so far conclude that we can only get a tooltip for XamlRenderOptions DefaultVisualsRenderMode="Separate" otw, no tooltip is visible.

I have tried a few options (see below)  - but maybe the behavior changes once I change the render mode ?

 

- XamlRenderOptions DefaultVisualsRenderMode="Batch"  -> no tooltip
- (geometrytype not supported by scatterpointseries)
- BitmapRenderOptions -> no tooltip
- Direct2DRenderOptions -> not tooltip

Martin Ivanov
Telerik team
 answered on 15 Dec 2021
1 answer
443 views

Hello!   I'm using the Telerik ExplorerControl - both as part of the RadOpenFileDialog, and in a custom dialog of my own - and in both cases, I'm seeing a possible bug when browsing to network resources.

I can type a UNC path for a network location for which I have full access in the location bar:



When I hit enter, the ExplorerControl shows the contents at that location, but only for a second or less:



Then, the dialog changes to the root of the location I entered:



If I go to the history drop-down, it looks like this - each time I try to go to the storage subdirectory, it goes back to the root:



Oddly, if I select the location in the history, it does show the contents at that location - so there's not a problem with my permissions to explore that location:



Is there a way to prevent the ExplorerControl from doing this?  The selection always seem to return to the root of the UNC path, within less than a second.  (See the attached .gif). 

I'm using Version 2021.2.615.50 at the moment.  Any help would be most appreciated.

Thanks,

Ed

Petar Mladenov
Telerik team
 answered on 15 Dec 2021
1 answer
290 views

Hi, I have the following code and I want to have an animation to enable and disable any "radpane "in the related "radpanegroup".

For example, when I put a "radpane" in pin mode, its width increases by 3 seconds, or another example is that the border color changes.
My solution is to use: 

<telerik:RadDocking>

        ...

...

...

<telerik:RadDocking.FlyoutBehavior>
                <local:AnimatedFlyoutBehavior/>
            </telerik:RadDocking.FlyoutBehavior>

</telerik:RadDocking>

 

I used the IFlyoutBehavior interface and as a result the following functions were implemented:

  void IFlyoutBehavior.OnMouseEnter (IFlyoutHost host, RadPane targetPane)
        {

        }

        void IFlyoutBehavior.OnPaneActivated (IFlyoutHost host, RadPane targetPane)
{
        }

        void IFlyoutBehavior.OnMouseLeave (IFlyoutHost host)
        {

        }

        void IFlyoutBehavior.OnOpeningTimerTimeout (IFlyoutHost host)
        {


        }

        void IFlyoutBehavior.OnClosingTimerTimeout (IFlyoutHost host)
        {

        }

        void IFlyoutBehavior.OnPaneDeactivated (IFlyoutHost host, RadPane targetPane)
        {
            var selectedPane = host.SelectedPane;

            if (selectedPane! = null &&! selectedPane.IsActive && host.CurrentState == FlyoutState.Opened)
            {
                host.StartCloseAnimation ();
            }
        }

        void IFlyoutBehavior.OnPaneMouseLeftButtonDown (IFlyoutHost host, RadPane targetPane)
        {
            if (host.CurrentState! = FlyoutState.Opened)
            {
                host.StartOpenAnimation ();
            }
            else
            {
                host.StartCloseAnimation ();

            }
        }

    }

I could not use enough of this interface. Is there a better way to customize animation in radpane or to develop it that way?

 

 

                     
Dilyan Traykov
Telerik team
 answered on 15 Dec 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?