Telerik Forums
UI for WPF Forum
3 answers
198 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
390 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
139 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
86 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
71 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
275 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
138 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
4 answers
352 views

Hi,

I have charts that might contain data several hours long, but often it is desired to zoom into levels a minute long or less. The problem is that this is prevent by the minimum zoom setting. And I cannot set the minimum zoom setting lower than 1,1 , or 1% of total length. Why is this, and is it possible to bypass this so that we can zoom in further?

Martin Ivanov
Telerik team
 answered on 19 Dec 2018
2 answers
127 views

I'm trying to create a RadGridView that initially shows only the footer row with all the aggregates properly calculated, then a button that allows all the rows to be displayed along with the footer.

Is there any way to show just the footer without showing all the data rows? Note that I don't want to use a filter because then the aggregates aren't calculated properly. I just want the view to initially show the aggregate values while giving the user the ability to hit a button to expand the grid to show all the detail rows used to calculate those aggregates.

Thank you!

Brian
Top achievements
Rank 1
 answered on 18 Dec 2018
11 answers
558 views
Greetings.

I am using the Telerik RadGridView control to display data. In one screen I am using it without the rowstyleselector, in another I am using it with the rowstyleselector.

In the instance without the rowstyleselector, I use GridLinesVisibility="None"> and it works fine, the gridlines are gone.

But in the instance with the rowstyleselector, I use the following code, but the gridlines are still visible.

<Queue:TelephonyCallQueueRowStyleSelector.ConnectedToOtherStyle>
            <Style TargetType="TelerikGridView:GridViewRow">
                <Setter Property="Background">
                    <Setter.Value>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="Black" Offset="0.96"/>
                            <GradientStop Color="#FFBDFDBD" Offset="0.95"/>
                        </LinearGradientBrush>
                    </Setter.Value>
                </Setter>
                
                <Setter Property="Grid.ShowGridLines" Value="False" />
            </Style>
        </Queue:TelephonyCallQueueRowStyleSelector.ConnectedToOtherStyle>

Why won't the gridlines go away?

Thanks,

Wade
Stefan
Telerik team
 answered on 18 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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?