How to Replace Point Draw Rectangles in WPF

104 11
    • 1). Open Visual Studio 2010 by clicking on its program icon. When it loads, select "File/New/Project" and click "Visual C#/WPF." A new WPF project is created, and a blank WPF form appears in the main editor window.

    • 2). Locate the panel labeled "Toolbox," which is usually on the right-hand side of the application. The "Toolbox" lists a bunch of items that can be added to the WPF form. Locate "Rectangle" and click on it.

    • 3). Drag the rectangle onto the form and release the mouse button. The rectangle is placed on the WPF form.

    • 4). Locate the panel labeled "Properties." Click on it to display a list of properties related to the rectangle object. Two properties are "Width" and "Height." Change these numbers however you like to change the size and shape of the rectangle.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.