C # learning Note-win8.1 Store app WinForm Development little Note

Source: Internet
Author: User

First, the XAML layout and C # code are combined for layout,

When you add a control in a XAML file, set the name in the property bar so that you can get the name of the control in C # code

This can be used as an object operation in C # code, setting the properties of the object

For example, the layout of the current control relative to the parent control

Describes a common layout grid that allows you to set the properties of rows and columns through collections of columndefination and Rowdefination

The method of setting the font color, mainly through the brush object

Item_title. Foreground = new SolidColorBrush (Windows.UI.Colors.Red);

Manipulating controls to listen to Settings

How to use Database SQLite

Connect to database File

Query operations can be implemented either in the LINQ language or through a function query

The form of LINQ:

How to insert a picture:

C # learning Note-win8.1 Store app WinForm Development little Note

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.