Telerik Forums
UI for WPF Forum
3 answers
135 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
319 views
Is there any way to use RadMultiColumnComboBox in RadGridView.Columns?
Dinko | Tech Support Engineer
Telerik team
 answered on 21 Dec 2018
1 answer
262 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
193 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
383 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
134 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
80 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
66 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
270 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
1 answer
133 views

Hi all,

 

I am on win7 and I tried install the WPF demo by clicking the "demo" button. After downloading "stepup" on "https://demos.telerik.com/wpf/?utm_source=tcp", it returns the error "an error occurring trying to download https://demos.telerik.com/wpf/wpfdemo_application".

 

Any suggestion? Thanks.

Martin Ivanov
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
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?