Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7839515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:27:49+00:00 2026-06-02T15:27:49+00:00

I made a UserControl that has a Property of type RotateFlipType , this control

  • 0

I made a UserControl that has a Property of type RotateFlipType, this control is used within another UserControl that sets the property accordingly.

The thing is that according to RotateFlipType MSDN Documentation the Enum has 16 fields but VS Property Window only shows 14, Rotate180FlipNone and RotateNoneFlipX are missing.

I need to use Rotate180FlipNone. Setting it through the code works fine, but I really wouldn’t wanna do it like that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T15:27:51+00:00Added an answer on June 2, 2026 at 3:27 pm

    Take a closer look at the values in the combo box. Note that it contains duplicates:

    enter image description here

    And yes, values are missing because of that. The list still contains 16 values.

    The reason for this is that the enum values for RotateFlipType are ambiguous. There are only 8 distinct values. Like RotateNoneFlipNone is the exact same transformation as Rotate180FlipXY. Try it with a piece of paper. Or intuitively, there are 4 possible rotations multiplied by 2 possible projections (original and flipped). So what goes wrong is the type converter translating from the integral value of the enum (between 0 and 7) back to a string. There are two to choose from and it just picks the first match.

    You’ll need to write your own TypeConverter to map a value to a different string, one of 8 possible strings. You may want to write a UITypeConverter so it is a bit more obvious with, say, a bitmap that shows the transformation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a UserControl in WPF. This user control has several text boxes that
I'm needing to create a UserControl, that has a portion of the control's background
I have a form and two custom UserControl that I made myself. one control
I'm a complete beginner at WPF. I've made a usercontrol labeledTextbox that holds a
I have made some progress with the DataList and UserControl this morning but I
I have a made a simple UserControl that allows a user to drag a
I have a winforms app that uses a UserControl. The user control's job is
we have a UserControl to handle User cancellations, that is used in a few
I made a custom control ( it inherits from UserControl ) and my control
I have a custom templated control(toolbar) that contains a custom usercontrol(button) The button uses

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.