Click here to Skip to main content
15,890,506 members
Home / Discussions / WPF
   

WPF

 
Questionhi,how should i use wpf draw staff gauge ? Pin
KornZhang25-Jul-09 5:23
KornZhang25-Jul-09 5:23 
AnswerRe: hi,how should i use wpf draw staff gauge ? Pin
KornZhang25-Jul-09 5:24
KornZhang25-Jul-09 5:24 
QuestionWPF browser application on MAC browsers Pin
VijayVishwakarma25-Jul-09 2:21
VijayVishwakarma25-Jul-09 2:21 
AnswerRe: WPF browser application on MAC browsers Pin
teejayem25-Jul-09 11:35
teejayem25-Jul-09 11:35 
QuestionWebsite + wpf application Pin
bhavna432124-Jul-09 20:57
bhavna432124-Jul-09 20:57 
QuestionRe: Website + wpf application Pin
Mark Salsbery27-Jul-09 5:23
Mark Salsbery27-Jul-09 5:23 
QuestionCustom property for user control Pin
krishnan.s24-Jul-09 20:32
krishnan.s24-Jul-09 20:32 
AnswerRe: Custom property for user control Pin
BillWoodruff24-Jul-09 22:54
professionalBillWoodruff24-Jul-09 22:54 
Namaste, or Vanakkum, or Namaskaram (your choice), Sri Krishnan,

I think you can get some clear responses if you make what you mean by "rotate" and "orientation" a little more clear.

What exactly is it you want to do beyond what setting the Orientation and IsDirectionReverse properties of a WPF Slider at design time do now.

If this is the very simple case of you just wanting to let your code at run-time set the Orientation property : well, write a public method in the UserControl you can call:
public void setSliderOrientation(Orientation whichWay)
{
    this.slider1.Orientation = whichWay;
}
If this is the simple case of you wanting to expose the Slider Orientaton property inside a UserControl at Design Time : write a Public Property so that Property will show up in the Property Editor at Design Time :
public Orientation sliderOrientation
{
    set { slider1.Orientation = value;  }
    get { return slider1.Orientation; }
}
If by "rotate" you mean literally rotating the user control itself, or rotating the slider inside the usercontrol : then : just go and take a look at how you can rotate anything in WPF.

best, Bill

"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

Questionequivalent method Dispose() in WPF? Pin
mehdibahadori24-Jul-09 19:25
mehdibahadori24-Jul-09 19:25 
AnswerRe: equivalent method Dispose() in WPF? [modified] Pin
#realJSOP24-Jul-09 23:02
mve#realJSOP24-Jul-09 23:02 
GeneralRe: equivalent method Dispose() in WPF? Pin
Pete O'Hanlon27-Jul-09 1:59
mvePete O'Hanlon27-Jul-09 1:59 
AnswerRe: equivalent method Dispose() in WPF? Pin
Kunal Chowdhury «IN»26-Jul-09 20:21
professionalKunal Chowdhury «IN»26-Jul-09 20:21 
QuestionMessage Removed Pin
24-Jul-09 9:48
professionalN_tro_P24-Jul-09 9:48 
AnswerMessage Removed Pin
24-Jul-09 9:49
professionalN_tro_P24-Jul-09 9:49 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 9:57
Ian Shlasko24-Jul-09 9:57 
GeneralMessage Removed Pin
24-Jul-09 10:06
professionalN_tro_P24-Jul-09 10:06 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:24
Ian Shlasko24-Jul-09 10:24 
GeneralMessage Removed Pin
24-Jul-09 10:36
professionalN_tro_P24-Jul-09 10:36 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:42
Ian Shlasko24-Jul-09 10:42 
GeneralMessage Removed Pin
24-Jul-09 10:46
professionalN_tro_P24-Jul-09 10:46 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:51
Ian Shlasko24-Jul-09 10:51 
GeneralMessage Removed Pin
24-Jul-09 10:19
professionalN_tro_P24-Jul-09 10:19 
GeneralRe: Binding IsEnabled of a button Pin
Ian Shlasko24-Jul-09 10:28
Ian Shlasko24-Jul-09 10:28 
AnswerRe: Binding IsEnabled of a button Pin
Pete O'Hanlon24-Jul-09 11:07
mvePete O'Hanlon24-Jul-09 11:07 
QuestionMessage Removed Pin
24-Jul-09 3:58
professionalN_tro_P24-Jul-09 3:58 

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.