A partial method is usually defined in a partial class file and is optionally implemented in the regular class file.
分部方法通常被定义在一个分部类中,在常规的类文件中也可实现。
This partial class enables your code-behind file to be used as part of a complete class without requiring you to declare the controls explicitly.
使用此分部类,您可以将代码隐藏文件用作完整类的一部分,而无需显式声明控件。
Note that under the default behavior of the markup compile build actions, you can leave the derivation blank in the partial class definition on the code-behind side.
请注意,在标记编译生成操作的默认行为下,您可以在代码隐藏端的分部类定义中将派生保留为空。
Note that under the default behavior of the markup compile build actions, you can leave the derivation blank in the partial class definition on the code-behind side.
请注意,在标记编译生成操作的默认行为下,您可以在代码隐藏端的分部类定义中将派生保留为空。
应用推荐