Telerik Forums
UI for WPF Forum
3 answers
204 views

How can I prevent changing the width of the RadOutlookBar inside a RadPane?

What I did for now is to process SizeChanged event and force the RadOutlookBar's Width property to the Width of its LogicalTreeHelper.GetParent() but it's still possible to have the mouse catch the edge of the RadOutlookBar instead of the RadPane parent's splitter which gives the illusion that the splitter won't move.  Is there a better way to do this?

 

Ahmed
Top achievements
Rank 1
 answered on 19 Jan 2018
1 answer
154 views
How to prevent attach connection to shape, detach connection from shape and delete connection from diagram? I want to make decision on ObservableGraphSourceBase level.
Petar Mladenov
Telerik team
 answered on 19 Jan 2018
1 answer
353 views

So, I just updated my project to 2018.1.116 because it fixed the "OutOfMemoryException" that was being thrown by the PDFViewer.  The latest version has seemed to resolve that issue, but now there's a new issue.  PDFs with images load, display and export just fine, however if you try and print a PDF that contains an image, the images is not printed.

 

You can reproduce this behavior by opening Telerk's WPF Demo application, go to the PDFViewer sample and printed.  The document prints but id did not print the image under "1. Images" on page 2.

 

Anyone else having this issue?

Anna
Telerik team
 answered on 19 Jan 2018
3 answers
241 views

Hi all,

     I read this blog(https://www.telerik.com/blogs/ui-automation-testing-with-uia-verify) about identify Wpf telerik element by uia verify tool. 

     However, I can't find the RadButton and only the text on uia verify tool. Could someone give me hints? Thanks

Yoan
Telerik team
 answered on 19 Jan 2018
7 answers
1.2K+ views

Hi,

I'm trying to use different GroupHeaderTemplates with Converters for the columns in my grid view.  If I apply the template to the entire grid, my converter gets invoked.

           <telerik:RadGridView.GroupHeaderTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />
                </DataTemplate>
            </telerik:RadGridView.GroupHeaderTemplate>

 

If I apply the GroupHeaderTemplates to GridViewDataColumn, my converter gets called unless the column had a cell template.  My converter gets called for the followiing:

 

               <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name">

                   <telerik:GridViewDataColumn.GroupHeaderTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />

                        </DataTemplate>
                    </telerik:GridViewDataColumn.GroupHeaderTemplate>

            </telerik:GridViewDataColumn>

My converter (IsActiveConverter) does NOT get called for the following.

               <telerik:GridViewDataColumn Width="16" SortMemberPath="FontFormat">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <Image x:Name="TypeIcon" Width="12" Height="12" Style="{StaticResource TypeIconStyle}" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                    <telerik:GridViewDataColumn.GroupHeaderTemplate>
                        <DataTemplate>
                            <Image Source="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" Height="16" Width="16"/>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.GroupHeaderTemplate>
                </telerik:GridViewDataColumn>

 

What am I doing wrong?  Thanks.

 

    
 

Stefan
Telerik team
 answered on 19 Jan 2018
0 answers
355 views

Hi,

I am binding my observablecollection to CollectionViewSource which has SortDescriptions. On initial load everything loads fine and sorting can be done. 

I have a reset button on which i am trying to refresh the changes in the grid with re fetching observablecollection and binding to ItemSource. Once i do the rebind the sorting doesnot work. 

Below is my collectionviewsource,

<CollectionViewSource
                x:Key="BuildLineSource"
                IsLiveSortingRequested="True"
                Source="{Binding BuildLineCollection,
                                 UpdateSourceTrigger=PropertyChanged}">
                <CollectionViewSource.GroupDescriptions>
                    <PropertyGroupDescription PropertyName="BuildLineCategory.Category" />
                </CollectionViewSource.GroupDescriptions>
                <CollectionViewSource.LiveSortingProperties>
                    <system:String>ExecutePriority</system:String>
                </CollectionViewSource.LiveSortingProperties>
                <CollectionViewSource.SortDescriptions>
                    <componentModel:SortDescription PropertyName="ExecutePriority" />
                </CollectionViewSource.SortDescriptions>
            </CollectionViewSource>

 

Below is the code i am calling on Constructor and also on Reset click,

private void GetBuildLines()
        {
            BuildLineCollection?.Clear();
            BuildLineCollection = _buildLineData.GetBuildLines();           
            ((INotifyPropertyChanged)BuildLineCollection).PropertyChanged +=
                (x, y) => BuildLineUpdated();
        }
Vinay
Top achievements
Rank 1
 asked on 19 Jan 2018
2 answers
646 views

Hi,

Is there a way to turn off the opacity in the new Fluent theme?

Stefan
Top achievements
Rank 1
 answered on 19 Jan 2018
0 answers
58 views
Hi, 
I have a wpf  radgridview with many groups .
I want to sort rows inside each group. the sorting is ok . But I found thet the group having the biggest element moves up 
I want to sort inside groups without moving groups 
please the picture 
thanks a lot
BEN SAID
Top achievements
Rank 1
 asked on 18 Jan 2018
4 answers
649 views

Hello Télérik,

 

I'm using a RadDesktopAlert in my software.

The declaration :

private void CreateNotification(string header, string content, int dureeEnMillisecondes, int tailleEnPx)
        {
            var alert = new RadDesktopAlert();
            alert.Header = header;
            alert.Content = content;
            alert.Opacity = 0.7;
            alert.ShowDuration = dureeEnMillisecondes;
            alert.Height = tailleEnPx;
            alert.ShowCloseButton = false;
 
            //Point pointDeDepart = new Point(0, 20);
            RadDesktopAlertManager manager = new RadDesktopAlertManager(AlertScreenPosition.BottomRight);//pointDeDepart);
              
            manager.ShowAlert(alert);
        }

- Me, and my clients, using 2 or more screens to work. 

- For the moment, i'm using AlertScreenPosition.BottomRight and the notification was displayed in the bottom-right of the main screen (where is the windows task bar), even if the screen software is on a other screen.

 

I want to know if is it possible to display the notification on the current screen (where is the software, or where is the mouse) ?

 

Thank you very much, I hope be understadable.

Leonid
Top achievements
Rank 2
 answered on 18 Jan 2018
3 answers
295 views
Hi,

I want to display list of all open windows in "Windows" RadMenu  at dynamically  and if I close any window then it should be removed from the "Windows" menu.
And I also want, menu should be check which window is top most.

Any help will be much more appreciated.

Regards,
Bharat Mendapara
Kalin
Telerik team
 answered on 18 Jan 2018
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?