Telerik Forums
UI for WPF Forum
3 answers
202 views

I checked this in a new project and see the same results. Seeing this with multiple versions, including the latest.

MouseWheelMode="ZoomToPoint" does not work. It zooms but does not center on the point.

The ZoomLevel binding is not updating correctly and/or partially ignoring MaxZoomLevel. For example, if I set a MaxZoomLevel of 19, and use the mouse wheel to zoom, I will receive the following values:

17,18,19,20

If I keep zooming in with the mouse wheel, I will continue to receive "20", even though the zoom isn't changing. If I then zoom out with the wheel, the ZoomLevel then changes from 20 to 18.

<telerik:RadMap MaxZoomLevel="19" UseSpringAnimations="False"
    ZoomLevel="{Binding ZoomLevel, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Center="30.11,-91"
    MouseClickMode="None" MouseWheelMode="ZoomToPoint">
    <telerik:RadMap.Provider>
        <telerik:OpenStreetMapProvider/>
    </telerik:RadMap.Provider>
</telerik:RadMap>
Vladimir Stoyanov
Telerik team
 answered on 21 Dec 2018
3 answers
125 views

Hi guys, 

I need to make StrokeThickness bigger for the relation of the selected tasks.  What I want is to make easier for the user to understand each task's dependencies.  How can I do it?

Best regards

Paolo

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Dec 2018
6 answers
309 views
Is there any way to use RadMultiColumnComboBox in RadGridView.Columns?
Dinko | Tech Support Engineer
Telerik team
 answered on 21 Dec 2018
1 answer
247 views

Hi,
I need to implement a grid where the user can select a list of itemes from a TreeView. Once the items are selected, the cell must show the concatenation of selected items. Attached you can find a sample screenshot of what I need.

I tried to do that creating a custom column (https://docs.telerik.com/devtools/wpf/controls/radgridview/managing-data/how-to/howto-create-custom-editor). 
This is an extract from the code of my custom column.

 

public override FrameworkElement CreateCellEditElement(GridViewCell cell, object dataItem)
        {
            var treeView = new RadTreeView
            {
                IsOptionElementsEnabled = true,
                ItemsSource = TreeViewItemsSource,
                ItemContainerStyle = TreeViewItemContainerStyle,
                ItemTemplate = HierarchicalItemTemplate,
            };

            var dropDownButton = new RadDropDownButton
            {
                DropDownContent = treeView,
                DropDownMaxHeight = 250,
            };

            //this.BindingTarget = ???;

            return dropDownButton as FrameworkElement;
        }

My question is how to bind the checked items of the TreeView to the BindingTarget dependency property of the GridViewBoundColumnBase in order to update the field of the data item bound to the column, once the cell edit is committed.

Thanks in advance.

Dinko | Tech Support Engineer
Telerik team
 answered on 21 Dec 2018
3 answers
178 views

Dear,

Binding 'Header' property to DataContext in a GridVewColumnGroup doesn't work. Public property is not requested to DataContext.

    <telerik:GridViewColumnGroup Name="RangeColumn" Header="{Binding FirstDependencyName, FallbackValue=Nothing}" />

By other hand, a binding to StaticResource works property.

    <telerik:GridViewColumnGroup Name="RangeColumn" Header="{Binding Source={StaticResource appResx}, Path=btn_Create}" />

In next example, public property is requested to DataContext (value is received tested with a converter), but surprisingly it is not displayed.

    <telerik:GridViewColumnGroup Name="RangeColumn">
        <telerik:GridViewColumnGroup.Header>
            <TextBlock Text="{Binding FirstDependencyName, FallbackValue=Nothing}"/>
        </telerik:GridViewColumnGroup.Header>
    </telerik:GridViewColumnGroup>

Do you have any suggestion?
Thank you
Dilyan Traykov
Telerik team
 answered on 21 Dec 2018
11 answers
338 views
Hi,

I'm trying to change column headers style in my GanttView.
I'm using this code:
<Style TargetType="GanttView:ColumnHeaderContainer">
            <Setter Property="Foreground" Value="#3d3d3d" />
            <Setter Property="Background" Value="#C0C0C0" />
        </Style>

But that style impacts only 1st and 3d columns, while 2nd column style is not impacted (see attachment).

What am I missing?

Thanks,
Yevgeny
 
Martin Ivanov
Telerik team
 answered on 21 Dec 2018
3 answers
126 views

I'm noticing that if I include a space in my search term it treats that as two search items, when I want it to just treat it as one long string.  Is it possible to have the search function this way?

For example, let's say I have the following items in my MultiColumnComboBox.

  • Big Dog
  • Big Cat
  • Big Lemur

If I type 'Big Lemur' in the text box, it doesn't narrow down my search to just Big Lemur.  All 3 are matches.  It appears to be searching on each word in my search phrase.  I think I understand the difference between the different AutoCompleteMode settings, but none of them treat a multi-word search term as just one search value.

Stefan
Telerik team
 answered on 20 Dec 2018
1 answer
61 views

Having a weird issue with the calendar popup in DateTimePicker.  I previously had a bug in my date/time parsing algorithm where it was taking years in the present or near future (2018-2025) and parsing them as 1918-1925.  When you go in and attempt to fix this through the calendar control, you can't seem to correctly navigate to the 2000's.

Upon picking the 2010-2019 option in the first screenshot, it then takes you to the 1910-1919 collection.  In this case, the control's SelectedValue is being bound to a Nullable<DateTime> with the date already set before form initialization.  The property and object both implement the INotifyPropertyChanged interface/pattern.  As you can see, the calendar uses the Windows8Touch theme.

Thanks for any guidance that can be provided.

 

Vladimir Stoyanov
Telerik team
 answered on 20 Dec 2018
1 answer
53 views
I create a Radial Gauge and i set min and max dynamically .but i want to show tick at value=0 if it is in range.how can i do it?
Dilyan Traykov
Telerik team
 answered on 19 Dec 2018
2 answers
256 views

Hello,

Can anyone help by answering on question: Why using this code MapEllipse shape didn't show on RadMap InformationLayer>?

<telerik:RadMap x:Name="RadMap"
    ZoomLevel="{Binding MapZoomLevel}"
    Provider="{Binding MapProvider}"
    Center="{Binding MapCenter}"
    cal:Message.Attach="[Event MapMouseClick] = [Action RadMapClicked($source,$eventArgs)];
            <telerik:InformationLayer>
                <telerik:MapEllipse
                    telerik:MapLayer.Location="{Binding Location}"
                    Width="10"
                    Height="10"
                    Fill="Red"
                    Stroke="OrangeRed"
                    StrokeThickness="2">
                </telerik:MapEllipse>
            </telerik:InformationLayer>
          </telerik:RadMap>

 

 

private Location _location;
public Location Location
{
    get { return _location; }
    set
    {
        _location = value;
        NotifyOfPropertyChange(() => Location);
    }
}
 
public void RadMapClicked(object sender, MapMouseRoutedEventArgs eventArgs)
{
    Location = eventArgs.Location;
}

 

RadMapClicked event is triggered well and Location coordinates are correct wrote

 

Thank you!

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Dec 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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?