@PageのMasterPageFile属性に、マスター ページのファイル名を指定する。
style1.cssは、
こう書く。
Master1.masterは、
style1.cssを適用。
Page1.aspxは、
MasterPageFileに、Master1.masterを指定。
style2.cssは、
色が違う。
Master2.masterは、
style2.cssを適用。
Page2.aspxは、
MasterPageFileに、Master2.masterを指定。
Page1.aspxはこうなるし、
Page2.aspxは色が違う。
Sample/aspnet/PageDirective/MasterPageFile/src/PageDirective at master · bg1bgst333/Sample · GitHub