Telerik Forums
UI for WPF Forum
1 answer
174 views
Hello,

is it possible to customize the schedule view so that it displays overlapping appointments not next to each other, but in a user defined layout? Say that I have a "regular" appointment (a scheduled activity) and I also have "time preferences", which are time slots preferred (or not) for scheduling activities. I would like to display these preferences below (not next to) the activities - see attachment, where the time preference is the green rectangle, while the blue rectangle is an activity.

Since I would like to be able to resize and move both activities and preferences, I intend to represent both activities and preferences as appointments, but maybe there is another way?

Thanks

Pavel
Yana
Telerik team
 answered on 02 Nov 2012
1 answer
183 views
Hello.

I have RadMaskedNumericInput control inside RadGridView cell.
When i turn mouse wheel i want to continue scrolling, even if focus now on RadMaskedNumericInput control.

How can i get this behavior?

Thank you.
Pavel R. Pavlov
Telerik team
 answered on 02 Nov 2012
1 answer
82 views
Hello ..
i have upgraded from rad controls 2010 few months ago and upgraded VS2010 to VS2012
using VS2012 with Rad Controls 2012.2.725.40 i have problem with selecting controls within document host  (AT DESIGN TIME)...
eventhough selecting grid's buttons (controls) within right splitcontainer is OK But within document host it's not possible .. i had to navigate to pane and it's content's via xaml ..
how can i solve this ?
thanx in advance :)
Sam
Top achievements
Rank 1
 answered on 02 Nov 2012
3 answers
106 views
Hi,

Using JustTrace I've determined that a window that is loaded is most time-consuming in the AddDictionary method of the RichTextBox SpellChecker. I would like to call this method in a background thread so that it doesn't hang the application. Obviously I can't use BackgroundWorker because making modifications to a UI control. So I'm after other options for preventing the window from hanging? Perhaps this question is more general than the SpellChecker forum subfolder, but the problem has started from here :)

Thanks
Andrew
Telerik team
 answered on 01 Nov 2012
1 answer
145 views
Is there any way to detect that Select All has been checked when persisting a filter on the gridview? I would like to ignore the distinct value list if Select All has been chosen by a user.
Thanks,

Rossen Hristov
Telerik team
 answered on 01 Nov 2012
2 answers
295 views
Hey there, I am running Windows 7 64 bit and I have both VS 2012 and VS 2012 installed.

When I try to run the installer for WPF controls, I get an error saying it could not find a dll needed to run. I reran the installer with logging turned on and after looking through it, the problem seems to be that the Telerik installer cannot find the dll needed to check that VS is open and needs to close. Any ideas how I get around this? I am thinking that I need to tell the installer NOT to install the VS extensions for 2010 and 2012, then install them manually within studio via the Extension Manager?

Sorry, I forgot to mention that I am trying to install Telerik controls for WPF, version 2012 Q3.. it may also be helpful to mention that I did not run into this issue for 2012 Q2.

Please help!
John
Top achievements
Rank 1
 answered on 01 Nov 2012
2 answers
97 views
In my application I apply the Windows7 theme by setting
StyleManager.ApplicationTheme = new Windows7Theme();
in the creation of the main window.

Unfortunately it is not clear to the end-user which columns have filters on them, so I thought about styling it. I found this thread on the forum where some things are explained.

I set to work and copied DistinctFilterControl.xaml and GridViewHeaderCell.xaml from the Windows7 theme source directory and adjusted them to my satisfaction. I can apply the GridViewHeaderCellStyle to the column by using
<telerik:GridViewDataColumn HeaderCellStyle="{StaticResource CustomGridViewHeaderCellStyle}"/>

So far so good. Now I want, of course, the style automatically applied to all data columns in my application. Is it possible to tweak this into the used theme? Or would it mean I have to create a complete new theme (e.g., Windows7bis)? Or is there a way to make a custom datacolumn that has this header style automatically applied? Or...

I don't want to end up with an application with half of the columns having my new style of funnel and the rest with the original themed funnel (because I forgot to set some property).

Thanks in advance.
Boardy
Top achievements
Rank 1
Veteran
 answered on 01 Nov 2012
1 answer
169 views
I've downloaded and opened the example project provided by Kaloyan in reference in this link:
Page Animation in a WPF Application

I am new to WPF and Animation. I'm able to follow through the code and understand it quite a bit but I wanted the animation to do the opposite, which I got stuck on. Although Albert from the thread posted code to reverse the animation, there wasn't the same effect as the animation included in the project. The animation provided had the effect of moving right to left. Can anyone please provide me with the animation to do the opposite, please? Here again is the sample animation (right to left) taken from the code.

public void BeginRight(FrameworkElement mockItem1, Grid container, FrameworkElement newPage)
  {
   this.Container = container;
   this.PageWidth = container.ActualWidth;
   this.item1 = mockItem1;
   this.item2 = newPage;
 
   this.Container.Children.Add(this.item1);
 
   var width = PageWidth;
 
   var scaleFactor = 0.8;
   var halfSrink = (1.0 - scaleFactor) / 2;
 
   this.Container.Children.Add(this.mask1);
   this.Container.Children.Add(this.mask2);
 
   var scaleDownSpline = new Spline(0.504000008106232, 0.256000012159348, 0.458999991416931, 1);
   var moveSpline = new Spline(0.247999995946884, 0, 1, 1);
   var scaleUpSpline = new Spline(0.321000009775162, 0, 0.45100000500679, 1);
   var spacing = 15.0;
 
   this.animation = this.item1
    .Animate()
    .With(this.mask1)
     .EnsureDefaultTransforms()
     .Origin(0, 0.5)
     .Scale(0, 1, 0.2, 1, 0.7, scaleFactor)
      .Splines(2, scaleDownSpline)
     .MoveX(0.7, 0, 1.365, (-width * (scaleFactor - halfSrink)) - spacing, 1.9, (-width * scaleFactor) - spacing)
      .Splines(1, moveSpline)
      .Splines(2, scaleUpSpline)
    .Without(this.item1)
     .Opacity(0, 0, 0.2, 0, 0.7, 1)
      .Splines(1, scaleDownSpline)
    .Animate(this.mask2)
     .Opacity(1.35, 1, 1.9, 0)
      .Splines(scaleUpSpline)
    .With(this.item2)
     .EnsureDefaultTransforms()
     .Origin(0.5, 0.5)
     .Scale(0, scaleFactor, 1.365, scaleFactor, 1.9, 1)
      .Splines(1, moveSpline)
      .Splines(2, scaleUpSpline)
     .MoveX(0.0, ((scaleFactor + halfSrink) * width) + spacing, 0.2, ((scaleFactor + halfSrink) * width) + spacing, 0.7, ((scaleFactor - halfSrink) * width) + spacing, 1.365, 0)
      .Splines(2, scaleDownSpline)
      .Splines(3, moveSpline)
    .Instance;
 
   this.animation.SpeedRatio = 755.0 / width * 1.5;
 
   this.isRunning = true;
 
   this.animation.Completed += (sender, e) =>
   {
                this.TransitionAnimationCompleted(this, new TransitionEventArgs(item2));
 
    Container.Children.Remove(mask1);
    Container.Children.Remove(mask2);
    RemoveVisualBrush();
    Container.Children.Remove(item1);
    item1 = null;
    item2 = null;
   };
 
   this.animation.Begin();
  }
 

Huas
Top achievements
Rank 1
 answered on 01 Nov 2012
16 answers
1.3K+ views
in my listboxes I use listbox.SelectedIndex++, I want to select the next row in my WPF GridView (I have paging arrows at the top that will navigate through the grid)
Dilum
Top achievements
Rank 1
 answered on 01 Nov 2012
1 answer
678 views
I have a RadComboBox bound to an ObservableCollection. The collection is modified and cleared pragmatically (via various user interactions).

I'm looking for a XAML friendly solution that will set the SelectedIndex to 0 when going from no items (no selection) to having items.

I've tried simply setting SelectedIndex=0 but that doesn't work. (I get no selection).

-Mike.




Vladi
Telerik team
 answered on 01 Nov 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
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?