Click here to Skip to main content
15,886,689 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How to add simple C# user control to WPF project ? Pin
PumbaPumba27-Sep-10 6:54
PumbaPumba27-Sep-10 6:54 
QuestionTransform a model's positions directly Pin
Frank Boettcher5-Sep-10 23:38
Frank Boettcher5-Sep-10 23:38 
AnswerRe: Transform a model's positions directly Pin
Kubajzz6-Sep-10 0:11
Kubajzz6-Sep-10 0:11 
QuestionWpf Ribbon Control Pin
techaspnet5-Sep-10 20:18
techaspnet5-Sep-10 20:18 
AnswerRe: Wpf Ribbon Control Pin
Abhinav S11-Sep-10 2:51
Abhinav S11-Sep-10 2:51 
QuestionAuto completing multiple values separated by comma into a single autocompletebox. Pin
ananddayalan5-Sep-10 13:02
ananddayalan5-Sep-10 13:02 
AnswerRe: Auto completing multiple values separated by comma into a single autocompletebox. Pin
Abhinav S5-Sep-10 23:31
Abhinav S5-Sep-10 23:31 
QuestionCan't get rid of the scrollbar Pin
Yariv5-Sep-10 6:32
Yariv5-Sep-10 6:32 
Hi,

I'm trying to create a custom control that behaves like an horizontal StackPanel that hosts hyperlinks (with rich ToolTip).
A major difference is that I want to have horizontal scrollbar and keep the size of the control as one line of text.
I did it by inherit from ListBox and set my own Template, ItemsPanel and ItemTemplate.
It worked fine when I did all the work in my test WPF application, but when I moved the code to a class library, like it should be, I have a problem with the scrollbar.
When the width of the control if too short, a scrollbar thumb apears (I deleted it in my control!) and hides my links.
Also, I can not click the links or see the ToolTips because when the mouse is over the control the scrollbar takes control.

It is hard to show code here because then I would need to show all the Generic.xaml, instead I uploaded the whole solution (very small):
Code Here

How do I cancel this behavior?

Thanks,
Yariv
AnswerRe: Can't get rid of the scrollbar Pin
Yariv5-Sep-10 23:27
Yariv5-Sep-10 23:27 
GeneralRe: Can't get rid of the scrollbar Pin
Abhinav S11-Sep-10 2:52
Abhinav S11-Sep-10 2:52 
QuestionHow to add new property to ResourceDictionary item ? Pin
Yanshof5-Sep-10 4:20
Yanshof5-Sep-10 4:20 
AnswerRe: How to add new property to ResourceDictionary item ? Pin
Kubajzz5-Sep-10 22:24
Kubajzz5-Sep-10 22:24 
QuestionHow to bind a List to a ListBox in a UserControl Pin
davidnhilda5-Sep-10 1:10
davidnhilda5-Sep-10 1:10 
AnswerRe: How to bind a List to a ListBox in a UserControl Pin
Abhishek Sur5-Sep-10 1:22
professionalAbhishek Sur5-Sep-10 1:22 
QuestionWPF window - Get Client Rect Pin
huy.tran3-Sep-10 1:43
huy.tran3-Sep-10 1:43 
AnswerRe: WPF window - Get Client Rect Pin
Pete O'Hanlon3-Sep-10 2:00
mvePete O'Hanlon3-Sep-10 2:00 
QuestionListView Scrolling with MVVM Pin
krishnan.s2-Sep-10 19:09
krishnan.s2-Sep-10 19:09 
AnswerRe: ListView Scrolling with MVVM Pin
Abhinav S2-Sep-10 23:50
Abhinav S2-Sep-10 23:50 
AnswerRe: ListView Scrolling with MVVM Pin
krishnan.s3-Sep-10 2:24
krishnan.s3-Sep-10 2:24 
GeneralRe: ListView Scrolling with MVVM Pin
Pete O'Hanlon3-Sep-10 3:12
mvePete O'Hanlon3-Sep-10 3:12 
GeneralRe: ListView Scrolling with MVVM Pin
Abhinav S3-Sep-10 4:39
Abhinav S3-Sep-10 4:39 
QuestionPhysicalMedia-Class Pin
holzmcgyver2-Sep-10 14:38
holzmcgyver2-Sep-10 14:38 
AnswerRe: PhysicalMedia-Class Pin
Pete O'Hanlon2-Sep-10 22:48
mvePete O'Hanlon2-Sep-10 22:48 
QuestionWPF Listbox Pin
Drathmar2-Sep-10 10:57
Drathmar2-Sep-10 10:57 
QuestionRe: WPF Listbox Pin
AspDotNetDev3-Sep-10 12:02
protectorAspDotNetDev3-Sep-10 12:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.