15,797,050 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Python questions
View PHP questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by torin86 (Top 5 by date)
torin86
22-Jan-14 12:57pm
View
Sorry for my explanation.
At TabItem_Loaded event I fill my Panel and when I run the application and go into this TabItem, the content of the mentioned panel is shown (loaded) first and thent (like a second) the rest of the components are shown. I want to delete this effect.
I hope I have expressed myself better.
Thanks.
torin86
25-Oct-13 2:28am
View
Sorry. I forgot the error!!
When I click the button, the tabItem is removed but TabControl doesn´t resize again. how can I force to apply the converter after remove TabItem?
My converter is like this:
public class TabSizeConverterVertical : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter,
System.Globalization.CultureInfo culture)
{
TabControl tabControl = values[0] as TabControl;
double height = tabControl.ActualHeight / tabControl.Items.Count;
//Subtract 1, otherwise we could overflow to two rows.
return (height <= 1) ? 0 : (height);
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter,
System.Globalization.CultureInfo culture)
{
throw new NotSupportedException();
}
}
Thanks.
torin86
20-Sep-13 2:22am
View
You think I have not read that before? Did you read fully what I need?
If you're not contributing anything, do not answer. I already know my limitations.
Thanks
torin86
10-Sep-13 6:02am
View
Thanks! It works perfectly!
Bye.
torin86
30-Aug-13 6:36am
View
First of all thanks for ask my question so quickly!
I´m trying to do what you are saying and now I´ve two questions:
1. The namespace wuith the converter must to be in Main or in Secondary Project? If I don´t put it into Secondary project I can´t use it, can I?
2. When I generate the Secondary project, I am having an error because as now is a ClassLibrary Project, it can´t find the ApplicationDefinition element.
What do you think I have to try now?
Thanks.