Telerik Forums
UI for WPF Forum
2 answers
215 views
I've got a RadMaskedDateTimeInput control in my application:
<telerik:RadMaskedDateTimeInput BorderBrush="{Binding Path=BorderBrush, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        FlowDirection="{Binding Path=FlowDirection, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        Focusable="True"
                                        FontFamily="{Binding Path=FontFamily, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        FontSize="{Binding Path=FontSize, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        FontStretch="{Binding Path=FontStretch, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        FontStyle="{Binding Path=FontStyle, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        FontWeight="{Binding Path=FontWeight, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        GotFocus="ValueBox_GotFocus"
                                        Grid.Column="0"
                                        FormatString="{Binding Path=Mask, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        HorizontalAlignment="Stretch"
                                        HorizontalContentAlignment="Right"
                                        InputBehavior="Insert"
                                        IsClearButtonVisible="False"
                                        LostFocus="ValueBox_LostFocus"
                                        Margin="5"
                                        Mask="{Binding Path=Mask, Mode=OneWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        Name="ValueBox"
                                        SelectionOnFocus="CaretToEnd"
                                        SpinMode="PositionAndValue"
                                        TabIndex="{Binding Path=TabIndex, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}}"
                                        TextMode="MaskedText"
                                        UpdateValueEvent="PropertyChanged"
                                        Value="{Binding Converter={StaticResource TimeSpanConverter}, Path=Value, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type cs:TimeSpanSpinner}}, UpdateSourceTrigger=PropertyChanged}"
                                        VerticalAlignment="Center" />

This is actually inside of a UserControl.  That user control is then used in another UserControl that is used to edit user settings.  The first UserControl is supposed to provide spinner functionality for specifying a time out interval on a touch screen computer.  There are two big buttons next to the RadMaskedDateTimeInput control, one for increasing the value and one for decreasing it.  Since the value is a time out, the data type of the variable being edited is TimeSpan, and I want to see the text formatted as HH:mm:ss.fff.  That's what the Mask property is set to, and the FormatString is set to that, too.

The control displays correctly until I put the cursor in it.  At that point, the HH:mm:ss.fff formatting goes away and I see 01/01/0001.  This is useless.  This did work properly at one time, but now it's broken and I don't know why.  Why is the control ignoring the input mask???

I'm using the 2012 Q1 version of the library.
Tony
Top achievements
Rank 1
 answered on 07 Dec 2012
3 answers
228 views
I've managed to get a RadTileViewItem to fade in when it's added to the TileView. That was easy of course, as the item exists, and I can just set it's opacity to 0 and move it up.

However, I also want to get an item to fade out. But, when the item is removed from the underlying collection, the RadTileViewItem is of course immediately removed, and so it's gone.

How can I accomplish this? 
Pavel R. Pavlov
Telerik team
 answered on 07 Dec 2012
2 answers
200 views
hi all, hope u can help me, i tried this code but the event is never fired

 <telerik:RadDiagram x:Name="diagram"
                            Grid.Row="1"
                            ActiveTool="PanTool"
                            ShapeStyle="{StaticResource TestNodeStyle}"
                            KeyDown="diagram_KeyDown"/>

 private void diagram_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Key == Key.Cancel)
                e.Handled = true;
        }

thanks,
Fabrizio
Top achievements
Rank 1
 answered on 07 Dec 2012
2 answers
228 views
Hi,
my problem is that the slider clips my ticks, because he think they are to long.
Set ClipToBounds to false does not help to solve this issue.

Here is my code:
<telerik:RadSlider Grid.Row="3"
                                Grid.Column="0"
                                Grid.ColumnSpan="2"
                                Margin="25,0,25,10"
                                Value="{Binding SlectedTimeSpan}"
                                VerticalAlignment="Bottom"
                                Minimum="0"
                                Maximum="24"
                                TickFrequency="8"
                                TickPlacement="BottomRight"
                                ClipToBounds="False"
                                IsSnapToTickEnabled="True">
                        <telerik:RadSlider.TickTemplate>
                            <DataTemplate>
                                <StackPanel ClipToBounds="False">
                                    <Ellipse Width="5"
                                             Height="5"
                                             Fill="Black"
                                             HorizontalAlignment="Center" />
                                    <TextBlock Text="{Binding StringFormat=+{0} Std.}"
                                               HorizontalAlignment="Center" />
                                </StackPanel>
                            </DataTemplate>
                        </telerik:RadSlider.TickTemplate>
                    </telerik:RadSlider>

You can find a picture of the result as attached file.

Can anybody help me with this issue???
Mark
Top achievements
Rank 1
 answered on 07 Dec 2012
2 answers
129 views
Hello. If I set the Width property of the RadRibbonGroup, the scrolling does not go all the way over. See attached screenshots. If I remove the Width property, the scrolling works fine. I set the width because I place different controls in the group and the sizing isn't correct unless I set the size. Is there any way to get this to work?

<

 

 

telerik:RadRibbonGroup Header="Test2" Width="300">

Thanks
Scott

 

Scott Michetti
Top achievements
Rank 1
Iron
 answered on 07 Dec 2012
6 answers
137 views
Hi,

Is there a way to say to the TreeListView not to unload rows when the parent node is collapsed?

I have already set EnableColumnVirtualization="False" and EnableRowVirtualization="False"

The same question when pager is used.

Thanks,
Prolifis
Top achievements
Rank 1
 answered on 07 Dec 2012
1 answer
193 views
I got VirtualQueryableCollectionView working with RadComboBox when VirtualizingStackPanel is used.

However, when filtering is enabled, the ComboBox would load all the items (batched in LoadSize) from the VirtualQueryableCollectionView before displaying the dropdown. Am I missing something here?

The combobox Xaml:
<telerik:RadComboBox ItemsSource="{Binding Items}"
                     SelectedItem="{Binding SelectedItem}"
                     DisplayMemberPath="Name"
                     IsFilteringEnabled="True"
                     TextSearchMode="Contains"
                     ClearSelectionButtonVisibility="Visible"
                     ClearSelectionButtonContent="Remove">
    <telerik:RadComboBox.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel/>
        </ItemsPanelTemplate>
    </telerik:RadComboBox.ItemsPanel>
</telerik:RadComboBox>

Vladi
Telerik team
 answered on 07 Dec 2012
1 answer
146 views
Is it possible to add support for VirtualQueryableCollectionView?

In the software that I am working on, the data source contains hundreds of thousands records via WCF data service (OData), and it would take forever to load if the list had to be populated fully before AutoCompleteBox can search.
Vladi
Telerik team
 answered on 07 Dec 2012
0 answers
96 views
Hello everyone.
Please vote for this PITs
Show unlimited items in menu
http://www.telerik.com/support/pits.aspx#/details/Issue=8750
Licensing
Top achievements
Rank 1
 asked on 07 Dec 2012
0 answers
98 views
Hello everyone.
Please vote for this PITs
Show unlimited items in menu
http://www.telerik.com/support/pits.aspx#/details/Issue=8750
Licensing
Top achievements
Rank 1
 asked on 07 Dec 2012
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?