Telerik Forums
UI for WPF Forum
3 answers
368 views
I tried both footer row styles and footer cells styles, but I can't seem to change the font size of the footer.  I don't really want to create my own footer template for this.
I tried this:
<Style x:Key="Bold10CellStyle" TargetType="telerik:GridViewFooterCell"  >
    <Setter Property="FontSize" Value="10" />
    <Setter Property="FontWeight" Value="Bold" />
</Style>
 
<Style x:Key="SmallBoldFooter" TargetType="telerik:GridViewFooterRow">
    <Setter Property="FontSize" Value="10" />
    <Setter Property="FontWeight" Value="Bold" />
</Style>

Both of these would make my footer bold, but it wouldn't change the fontsize

Martin Ivanov
Telerik team
 answered on 30 Dec 2020
2 answers
170 views
I have a sreadsheet I created to do an export to Excel, but it isn't visible, so the ActiveWorksheetEditor never gets created so I can't freeze panes. Is there any way around this?
Edward
Top achievements
Rank 1
Veteran
Iron
Iron
 answered on 29 Dec 2020
1 answer
135 views

Hello. 

It is an error with symptoms similar to the post below.

In addition to sorting, errors occur in search.

For more information, attach the following article and source code.

Source code only added properties in gridview. The rest are the sources in the GroupSelection SDK.

 

Source : https://drive.google.com/file/d/1f8MWpNmWY_RWF43IEyvnxOKouoi-B7-g/view?usp=sharing

 

Merry Christmas.

Thanks.

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Dec 2020
1 answer
129 views

Hi All,

RadBusyIndicator is not working  when Telerik.Windows.DragDrop.DragDropManager.UseAdornerLayer is set to true during InitializeComponent()

<telerik:RadBusyIndicator BusyContent="Finialising you action..." IsBusy="{Binding IsBusy}">

Let me know were it went wrong.I f Possible attach sample solution for the Issue.

Thanks in Advance.

Regards,

Kishore Kumar 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Dec 2020
5 answers
219 views

I found a sample in your SDK "SelectedItemsBinding" part of your ComboBox.

Trying to understand the logic on using the ComboBox. This code seems very what I need but  I would like to use "SelectedItem" not "SelectedItems". So I working on converting your sample code to signal selection. I have managed to adjust the MainWindows.xaml and kind of understand the List collection. But can't convert this to a signal selection. Yes there are other more simple ComboBox samples but this one interests me.

I changed all the references to "SelectedItems" to "SelectedItem" where I get these errors in VS: "Error CS1503 Argument 1: cannot convert from 'object' to 'System.Collections.IList'"

Can you help me make this work?

using System.Collections;
using System.Collections.Specialized;
using System.Windows;
using System.Windows.Interactivity;
using Telerik.Windows.Controls;
 
namespace SelectedItemBinding
{
    public class SelectedItemBehavior : Behavior<RadComboBox>
    {
        private RadComboBox ComboBox
        {
            get
            {
                return this.AssociatedObject as RadComboBox;
            }
        }
 
        public INotifyCollectionChanged SelectedItem
        {
            get { return (INotifyCollectionChanged)this.GetValue(SelectedItemProperty); }
            set { this.SetValue(SelectedItemProperty, value); }
        }
 
        // Using a DependencyProperty as the backing store for SelectedItemProperty.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty SelectedItemProperty =
            DependencyProperty.Register("SelectedItem", typeof(INotifyCollectionChanged), typeof(SelectedItemBehavior), new PropertyMetadata(OnSelectedItemPropertyChanged));
         
        private static void OnSelectedItemPropertyChanged(DependencyObject target, DependencyPropertyChangedEventArgs args)
        {
            var collection = args.NewValue as INotifyCollectionChanged;
            if (collection != null)
            {
                ((SelectedItemBehavior)target).UpdateTransfer(args.NewValue);
                collection.CollectionChanged += ((SelectedItemBehavior)target).ContextSelectedItem_CollectionChanged;
            }
        }
 
        private void UpdateTransfer(object items)
        {
            Transfer(items as IList, this.ComboBox.SelectedItem);
            this.ComboBox.SelectionChanged += this.ComboSelectionChanged;
        }
 
        private void ContextSelectedItem_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
        {
            this.UnsubscribeFromEvents();
            Transfer(SelectedItem as IList, this.ComboBox.SelectedItem);
            this.SubscribeToEvents();
        }
 
        private void ComboSelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
        {
            if (this.ComboBox.ItemsSource != null)
            {
                this.UnsubscribeFromEvents();
                Transfer(this.ComboBox.SelectedItem, SelectedItem as IList);
                this.SubscribeToEvents();
            }
        }
 
        private void SubscribeToEvents()
        {
            this.ComboBox.SelectionChanged += this.ComboSelectionChanged;
            if (this.SelectedItem != null)
            {
                this.SelectedItem.CollectionChanged += this.ContextSelectedItem_CollectionChanged;
            }
        }
 
        private void UnsubscribeFromEvents()
        {
            this.ComboBox.SelectionChanged -= this.ComboSelectionChanged;
            if (this.SelectedItem != null)
            {
                this.SelectedItem.CollectionChanged -= this.ContextSelectedItem_CollectionChanged;
            }
        }
 
        public static void Transfer(IList source, IList target)
        {
            if (source == null || target == null)
                return;
 
            target.Clear();
            foreach (var o in source)
            {
                target.Add(o);
            }
        }
    }
}     
herb
Top achievements
Rank 1
Veteran
Iron
 answered on 25 Dec 2020
13 answers
785 views

Hello.

 

In out project (MVVM, Microsoft prism) we use RadPaneGroup with RadPane. I need understand when user see RadPane. For this i use visibily and isSelected properties:

 

<telerik:RadPaneGroup>
                    <telerik:RadPane Header="{telerik:LocalizableResource Key=Neo_DailyIntroductionPlanFact}"
                                     Name="ActivityDailyIntroductionFactTab" 
                                     telerik:RadDocking.SerializationTag="DailyIntroductionFact"
                                     IsSelected="{Binding ActivityFactDataTabIsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
                                     CanUserClose="False" 
                                     IsPinned="False" 
                                     Visibility="{Binding ActivityFactDataTabVisibility, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}">

                       
                            <ContentControl HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" 
                                            regions:RegionManager.RegionName="{x:Static helpers:LocalRegionsNames.ActivityDailyIntroductionFactRegion}" />
                        </telerik:RadBusyIndicator>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>

 

When user view is closing, property IsSelected becomes equal 'true', even if it was equal before 'false'...why this happen?

Teleric 2018.1.116.45

Dinko | Tech Support Engineer
Telerik team
 answered on 25 Dec 2020
1 answer
384 views

Hi good afternoon:

I want to create something similar to winmerge for compare commited files using telerik. I need this control to be embedded in my app, for this reason I could not use JustAsembly. Does telerik have some control that I can use to get something like this?

 

Kind Regards,

Joaquín Stevenazzi

Martin Ivanov
Telerik team
 answered on 23 Dec 2020
3 answers
374 views
Do you support Comparing 2 documents like Winmerge?
-highlights the added, deleted, modified part of the document.

if not built-in, can you give us any idea how to support this using your product?
Martin
Telerik team
 answered on 21 Dec 2020
1 answer
176 views
Hi All,
Any Idea to manually call theses methods CanStartDrag, CanDrop, Drop, DragDropCompleted, DragDropCanceled of DragDropBehavior from events of Rad ListBox Control for drag drop operation. Can you provide any sample project for demonstration?.

Thanks in Advance
Kalin
Telerik team
 answered on 21 Dec 2020
0 answers
268 views

I am having a problem getting my Telerik RadWindow to add modules to my module catalog. To get the RadWindow to load I had to override the Prism CreateShell method to return null.

protected override Window CreateShell() { //We must return null to override Window type.//return Container.Resolve<ShellWindow>();return null; }

I then handle all the initialization in the OnInitialized method.

protected override void OnInitialized() { ShellWindow2 shellWindow = Container.Resolve<ShellWindow2>(); shellWindow.Show(); MainWindow = shellWindow.ParentOfType<Window>(); RegionManager.SetRegionManager(MainWindow, Container.Resolve<IRegionManager>()); RegionManager.UpdateRegions(); InitializeModules(); base.OnInitialized(); }
My problem is when I try to add modules to my Module Catalog I get an error : The region manager does not contain the MyRegion region.
protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog) { moduleCatalog.AddModule<SecurityModule>(); }

I think the problem is the module is trying to map to a region before the RegionManager is initialized in the OnInitialized method.

How can get the AddModule method to initialize after the RegionManager is set up?


Rob Vest
Top achievements
Rank 1
 asked on 19 Dec 2020
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?