{"id":3856,"date":"2017-12-29T22:21:02","date_gmt":"2017-12-29T13:21:02","guid":{"rendered":"http:\/\/denasu.com\/blog\/?p=3856"},"modified":"2019-05-07T23:50:34","modified_gmt":"2019-05-07T14:50:34","slug":"xamarin-tips","status":"publish","type":"post","link":"https:\/\/denasu.com\/blog\/2017\/12\/diary3856","title":{"rendered":"Xamarin Tips"},"content":{"rendered":"<p>Xamarin\u3092\u4f7f\u3063\u305f\u30a6\u30a7\u30b6\u30bf\u30a4\u306e\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5316\u306f\u9806\u8abf\u306b\u9032\u3093\u3067\u3044\u308b\u3002\u305f\u3060\u3001\u3044\u308d\u3093\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u4ed5\u69d8\u3084\u3089\u30d0\u30b0\u3084\u3089\u3092\u56de\u907f\u3059\u308b\u306e\u304c\u5927\u5909\u3002\u30cd\u30c3\u30c8\u60c5\u5831\u3082\u5c11\u306a\u3044\u306e\u3067\u30011\u500b\u89e3\u6c7a\u3059\u308b\u306e\u306b1\u65e5\u304b\u304b\u308b\u3068\u304b\u3056\u3089\u3002\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306b\u306a\u3063\u3066\u308b\u306e\u304c\u305b\u3081\u3066\u3082\u306e\u6551\u3044\u3002Xamarin.Forms\u81ea\u4f53\u306f\u304b\u306a\u308a\u3044\u3044\u306e\u3067\u3001\u5909\u306a\u52d5\u4f5c\u304c\u591a\u3044\u306e\u306f\u3082\u3063\u305f\u3044\u306a\u3044\u3002\u4e16\u306e\u4e2d\u306b\u5e83\u3081\u308b\u305f\u3081\u306b\u3082\u3001\u4eca\u56de\u5206\u304b\u3063\u305fTips\u3092\u3053\u3053\u306b\u66f8\u3044\u3066\u304a\u304f\u3053\u3068\u306b\u3059\u308b\u3002\u6c7a\u3057\u3066\u611a\u75f4\u3067\u306f\u306a\u3044\u3002<\/p>\n<p>Xamarin Forms for UWP<\/p>\n<ul>\n<li>\u51dd\u3063\u305fUI\u3092\u30ea\u30b9\u30c8\u306b\u3057\u3066\u3067\u8868\u793a\u3059\u308b\u5834\u5408\u3001Xamarin.Forms\u7684\u306b\u306fListView\u306eTemplateSelector\u3092\u4f7f\u3046\u306e\u304c\u304a\u52e7\u3081\u306e\u3088\u3046\u3060\u304c\u3001\u3084\u3063\u3066\u307f\u308b\u3068\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\uff08Entry\uff09\u306e\u30ab\u30fc\u30bd\u30eb\u304c\u8868\u793a\u3055\u308c\u306a\u304b\u3063\u305f\u308aPicker\u306e\u9078\u629e\u80a2\u304c\u51fa\u306a\u304b\u3063\u305f\u308a\uff08\u3060\u3063\u305f\u304b\u306a\uff1f\uff09\u3044\u308d\u3044\u308d\u306a\u3053\u3068\u304c\u8d77\u3053\u308b\u3002\u7d50\u5c40ScrollView+StackLayout\u306b\u843d\u3061\u7740\u3044\u305f\u3002<\/li>\n<li>\u3067\u3001ScrollView+StackLayout\u306b\u3059\u308b\u3068\u3001\u3069\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u6700\u521d\u306e\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u304c\u30d5\u30a9\u30fc\u30ab\u30b9\u3055\u308c\u3066\u3057\u307e\u3046\u3002\u30bd\u30fc\u30b9\u3092\u898b\u308b\u3068\u305d\u3046\u3044\u3046\u4ed5\u69d8\u3063\u307d\u3044\u3051\u3069\u3001\u56f0\u308b\u306e\u3067\u3001\u30cd\u30c3\u30c8\u60c5\u5831\u3092\u53c2\u8003\u306b\u3001ScrollView\u306e\u6700\u521d\u306e\u30a2\u30a4\u30c6\u30e0\u3068\u3057\u3066\u30b5\u30a4\u30ba0\u306eButton\u3092\u7f6e\u304f\u3053\u3068\u3067\u56de\u907f\u3057\u305f\u3002<\/li>\n<li>XAML\u3067\u753b\u50cf\u3092\u8868\u793a\u3059\u308b\u3068\u304d\u3001Anrdoid\u306a\u3069\u3067\u306f\u753b\u50cf\u3092Resources\/Drawable\u306b\u7f6e\u3051\u3070\u30eb\u30fc\u30c8\u304b\u3089\u306e\u30d1\u30b9\u3067\u6307\u5b9a\u3067\u304d\u308b\u304c\u3001\u540c\u3058\u30d1\u30b9\u3067UWP\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u30fb\u30fb\u30fb\u3063\u3066\u3053\u3068\u3067UWP\u3067\u306f\u30eb\u30fc\u30c8\u306b\u753b\u50cf\u3092\u7f6e\u3051\u3070\u8aad\u307f\u8fbc\u3081\u305f\u3002\u6c17\u6301\u3061\u60aa\u3044\u3051\u3069\u3002<\/li>\n<li>\u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u3082\u7d50\u69cb\u56f0\u308b\u3002Android\u7b49\u3067\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u554f\u984c\u306a\u3051\u308c\u3070\u81ea\u7531\u306b\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u6271\u3048\u308b\u304c\u3001UWP\u306fFilePicker\u306a\u3069\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u9818\u57df\u3057\u304b\u4f7f\u3048\u306a\u3044\u3057\u3001Storage\u30af\u30e9\u30b9\u3092\u4ecb\u3055\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u81ea\u7531\u5ea6\u304c\u4f4e\u3044\u3002\u79c1\u306f\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3092\u30e9\u30c3\u30d7\u3059\u308b\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u3066\u3069\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3082\u7d71\u4e00\u7684\u306b\u6271\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002<\/li>\n<\/ul>\n<p>Xamarin Forms for Android<\/p>\n<ul>\n<li>ScrollView\u3068\u4ed6\u306eUI\u90e8\u54c1\u3092\u4e0a\u4e0b\u306b\u914d\u7f6e\u3059\u308b\u3068\u3001ScrollView\u304c\u4ed6\u306e\u90e8\u54c1\u3092\u306f\u307f\u51fa\u3057\u3066\u753b\u9762\u4e00\u676f\u306b\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3046\u3002ScrollView\u306eIsClippedToBounds\u306bTrue\u3092\u8a2d\u5b9a\u3059\u308c\u3070OK\u3002<\/li>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30b9\u30d7\u30e9\u30c3\u30b7\u30e5\u753b\u9762\u304c\u306a\u304f\u3001\u771f\u3063\u767d\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3002<a href=\"https:\/\/developer.xamarin.com\/guides\/android\/user_interface\/splash-screen\/\">\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306e\u901a\u308a\u306bThema\u3092\u4f5c\u3063\u3066\u89e3\u6c7a\u3002<\/a><\/li>\n<\/ul>\n<p>Xamarin Forms for Mac<\/p>\n<ul>\n<li>ContentPage\u306eBackgroundImage\u3067\u80cc\u666f\u753b\u50cf\u3092\u51fa\u3057\u3066\u3044\u305f\u306e\u3060\u304c\u3001Mac\u7248\u3060\u3051\u306f\u30bf\u30a4\u30eb\u8868\u793a\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067ContentPage\u306b\u753b\u9762\u5168\u4f53\u306eGrid\u3092\u7528\u610f\u3057\u3066Aspect Fill\u306b\u3057\u305fImage\u3092\u914d\u7f6e\u3057\u305f\u3002<\/li>\n<li>NavigationView\u306ePopAsync\u3092\u4f55\u56de\u304b\u5b9f\u884c\u3057\u3066\u4e00\u6c17\u306b\u30bf\u30a4\u30c8\u30eb\u753b\u9762\u306b\u623b\u308b\u3068\u304b\u3057\u3066\u3044\u308b\u3068\u3001Mac\u3060\u3051\u306f\u9014\u4e2d\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3046\u3002\u3053\u308c\u306fPopAsync\u306eAnimation\u30d1\u30e9\u30e1\u30fc\u30bf\u3092false\u306b\u3059\u308c\u3070\u3088\u3044\u3002<\/li>\n<li>ListView\u306e\u80cc\u666f\u304c\u3069\u3046\u3084\u3063\u3066\u3082\u767d\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u306b\u60a9\u307e\u3055\u308c\u308b\u3002ListView\u306eBackgroundColor\u306bTransparent\u3092\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3060\u3068\u30c0\u30e1\u3067\u3001\u3055\u3089\u306b\u5f8c\u308d\u306b\u767d\u3044\u80cc\u666f\u304c\u3042\u308b\u3063\u307d\u3044\u3002\u30bd\u30fc\u30b9\u3092\u898b\u305f\u3089\u3042\u3048\u3066\u767d\u304f\u3057\u3066\u3044\u308b\u3088\u3046\u3060\u3063\u305f\u306e\u3067\u3001ListViewRenderer\u3092\u4f5c\u3063\u3066\u3001NativeTableView.EnclosingScrollView.DrawsBackground\u3092false\u306b\u3059\u308b\u3002\u3055\u3089\u306b\u3001\u3053\u308c\u3060\u3051\u3060\u3068ScrollView\u3092\u30c9\u30e9\u30c3\u30b0\u3057\u305f\u3068\u304d\u306b\u5f8c\u308d\u306b\u767d\u3044\u7dda\u304c\u898b\u3048\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067NativeTableView.HeaderView\u3092null\u306b\u3057\u3066\u3088\u3046\u3084\u304f\u5b8c\u5168\u306b\u900f\u660e\u306b\u306a\u3063\u305f\u3002<\/li>\n<\/ul>\n<p>Xamarin Forms for iOS<\/p>\n<ul>\n<li>ListView\u306b\u7f6b\u7dda\u304c\u5165\u3063\u3066\u3057\u307e\u3046\u3002ListView\u306eSeparatorVisibility\u3092None\u306b\u3059\u308b\u3053\u3068\u3067\u6d88\u305b\u308b\u3002<\/li>\n<li>DLL\u306f\u4f7f\u3048\u305a\u5168\u90e8StaticLink\u306b\u306a\u308b\u306e\u3067\u30cd\u30a4\u30c6\u30a3\u30d6P\/Invoke\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30ea\u30f3\u30af\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u307e\u305f\u3001\u4ed6\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30af\u30e9\u30b9\u306e\u578b\u3092\u53c2\u7167\u3059\u308b\u5834\u5408\u3001GetType\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u306f\u4ed8\u3051\u306a\u3044\u3002<\/li>\n<li>\u4f55\u6545\u304b\u5206\u304b\u3089\u306a\u3044\u3051\u3069PCL\u306e\u4e2d\u306b\u3042\u308b\u30af\u30e9\u30b9\u306b\u5bfe\u3057\u3066GetType\u306f\u3067\u304d\u306a\u3044\u3063\u307d\u3044\u3002\u5165\u529b\u65b9\u5f0f\u30d7\u30e9\u30b0\u30a4\u30f3\u306fPCL\u3058\u3083\u306a\u304f\u3066\u666e\u901a\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3057\u305f\u3002<\/li>\n<li>iOS\u30cd\u30a4\u30c6\u30a3\u30d6\u306e\u3068\u304d\u306f\u3001UIInputText\u3092\u5b9f\u88c5\u3057\u305fUIView\u3067InputDelegate\u3067\u53d7\u3051\u53d6\u3063\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u304cUIKeyboardImpl\u3067\u3001\u305d\u306e\u307e\u307eUIInputTextDelegate\u306b\u30ad\u30e3\u30b9\u30c8\u3067\u304d\u305f\u3002\u305d\u308c\u3092\u4f7f\u3063\u3066TextWillChange\u3068\u304bTextDidChange\u3092\u547c\u3073\u51fa\u3057\u3001\u5185\u90e8\u30c6\u30ad\u30b9\u30c8\u3092\u5909\u66f4\u3057\u305f\u3053\u3068\u3092\u30b7\u30b9\u30c6\u30e0\u306b\u901a\u77e5\u3067\u304d\u305f\u3002\u3067\u3082\u3001Xamarin\u3060\u3068WeakInputDelegate\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092UIInputTextDelegate\u306b\u30ad\u30e3\u30b9\u30c8\u3067\u304d\u306a\u3044\u3002<a href=\"https:\/\/developer.xamarin.com\/guides\/ios\/application_fundamentals\/delegates,_protocols,_and_events\/\">\u30d8\u30eb\u30d7<\/a>\u306b\u306fWeak\u3060\u3068\u5b9f\u969b\u306e\u7d99\u627f\u95a2\u4fc2\u4ee5\u5916\u306e\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308b\u6c17\u304c\u3059\u308b\u3051\u3069\u3001\u3069\u3046\u3084\u308b\u306e\u304c\u6b63\u89e3\u306a\u3093\u3060\u308d\u3046\u3002\u3068\u308a\u3042\u3048\u305a\u4eca\u56de\u306f<a href=\"https:\/\/github.com\/xamarin\/ios-samples\/tree\/master\/SimpleTextInput\">SimpleInputText<\/a>\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u3088\u3046\u306b[Adopts (&#8220;UITextInput&#8221;)]\u3067\u5b9f\u88c5\u3057\u305f\u3002\u305f\u3060\u3001\u305d\u308c\u3060\u3068IUITextInput\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5b9f\u88c5\u3057\u306a\u3044\u306e\u3067\u3001\u7d50\u5c40TextWillChange\u3068TextDidChange\u3092\u547c\u3073\u51fa\u3059\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u4f55\u3092\u4f7f\u3048\u3070\u826f\u3044\u306e\u304b\u5206\u304b\u3089\u306a\u304f\u306a\u308b\u3002\u306a\u306e\u3067\u3001\u308f\u3056\u308f\u3056IUITextInput\u3092\u5b9f\u88c5\u3057\u305f\u30e9\u30c3\u30d1\u30fc\u3092\u4f5c\u3063\u3066[Adopts (&#8220;UITextInput&#8221;)]\u3092\u5b9f\u88c5\u3057\u305f\u30af\u30e9\u30b9\u3092\u547c\u3073\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u3001\u3088\u3046\u3084\u304fiOS\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3068\u540c\u3058\u52d5\u4f5c\u306b\u306a\u3063\u305f\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Xamarin\u3092\u4f7f\u3063\u305f\u30a6\u30a7\u30b6\u30bf\u30a4\u306e\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5316\u306f\u9806\u8abf\u306b\u9032\u3093\u3067\u3044\u308b\u3002\u305f\u3060\u3001\u3044\u308d\u3093\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u4ed5\u69d8\u3084\u3089\u30d0\u30b0\u3084\u3089\u3092\u56de\u907f\u3059\u308b\u306e\u304c\u5927\u5909\u3002\u30cd\u30c3\u30c8\u60c5\u5831\u3082\u5c11\u306a\u3044\u306e\u3067\u30011\u500b\u89e3\u6c7a\u3059\u308b\u306e\u306b1\u65e5\u304b\u304b\u308b\u3068\u304b\u3056\u3089\u3002\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306b\u306a\u3063\u3066\u308b\u306e\u304c\u305b\u3081\u3066\u3082\u306e\u6551\u3044\u3002Xamarin.Forms\u81ea\u4f53\u306f\u304b\u306a\u308a\u3044\u3044\u306e\u3067\u3001\u5909\u306a\u52d5\u4f5c\u304c\u591a\u3044\u306e\u306f\u3082\u3063\u305f\u3044\u306a\u3044\u3002\u4e16\u306e\u4e2d\u306b\u5e83\u3081\u308b\u305f\u3081\u306b\u3082\u3001\u4eca\u56de\u5206\u304b\u3063\u305fTips\u3092\u3053\u3053\u306b\u66f8\u3044\u3066\u304a\u304f\u3053\u3068\u306b\u3059\u308b\u3002\u6c7a\u3057\u3066\u611a\u75f4\u3067\u306f\u306a\u3044\u3002 Xamarin Forms for UWP \u51dd\u3063\u305fUI\u3092\u30ea\u30b9\u30c8\u306b\u3057\u3066\u3067\u8868\u793a\u3059\u308b\u5834\u5408\u3001Xamarin.Forms\u7684\u306b\u306fListView\u306eTemplateSelector\u3092\u4f7f\u3046\u306e\u304c\u304a\u52e7\u3081\u306e\u3088\u3046\u3060\u304c\u3001\u3084\u3063\u3066\u307f\u308b\u3068\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\uff08Entry\uff09\u306e\u30ab\u30fc\u30bd\u30eb\u304c\u8868\u793a\u3055\u308c\u306a\u304b\u3063\u305f\u308aPicker\u306e\u9078\u629e\u80a2\u304c\u51fa\u306a\u304b\u3063\u305f\u308a\uff08\u3060\u3063\u305f\u304b\u306a\uff1f\uff09\u3044\u308d\u3044\u308d\u306a\u3053\u3068\u304c\u8d77\u3053\u308b\u3002\u7d50\u5c40ScrollView+StackLayout\u306b\u843d\u3061\u7740\u3044\u305f\u3002 \u3067\u3001ScrollView+StackLayout\u306b\u3059\u308b\u3068\u3001\u3069\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3082\u6700\u521d\u306e\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u304c\u30d5\u30a9\u30fc\u30ab\u30b9\u3055\u308c\u3066\u3057\u307e\u3046\u3002\u30bd\u30fc\u30b9\u3092\u898b\u308b\u3068\u305d\u3046\u3044\u3046\u4ed5\u69d8\u3063\u307d\u3044\u3051\u3069\u3001\u56f0\u308b\u306e\u3067\u3001\u30cd\u30c3\u30c8\u60c5\u5831\u3092\u53c2\u8003\u306b\u3001ScrollView\u306e\u6700\u521d\u306e\u30a2\u30a4\u30c6\u30e0\u3068\u3057\u3066\u30b5\u30a4\u30ba0\u306eButton\u3092\u7f6e\u304f\u3053\u3068\u3067\u56de\u907f\u3057\u305f\u3002 XAML\u3067\u753b\u50cf\u3092\u8868\u793a\u3059\u308b\u3068\u304d\u3001Anrdoid\u306a\u3069\u3067\u306f\u753b\u50cf\u3092Resources\/Drawable\u306b\u7f6e\u3051\u3070\u30eb\u30fc\u30c8\u304b\u3089\u306e\u30d1\u30b9\u3067\u6307\u5b9a\u3067\u304d\u308b\u304c\u3001\u540c\u3058\u30d1\u30b9\u3067UWP\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u30fb\u30fb\u30fb\u3063\u3066\u3053\u3068\u3067UWP\u3067\u306f\u30eb\u30fc\u30c8\u306b\u753b\u50cf\u3092\u7f6e\u3051\u3070\u8aad\u307f\u8fbc\u3081\u305f\u3002\u6c17\u6301\u3061\u60aa\u3044\u3051\u3069\u3002 \u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u3082\u7d50\u69cb\u56f0\u308b\u3002Android\u7b49\u3067\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306b\u554f\u984c\u306a\u3051\u308c\u3070\u81ea\u7531\u306b\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u6271\u3048\u308b\u304c\u3001UWP\u306fFilePicker\u306a\u3069\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u9818\u57df\u3057\u304b\u4f7f\u3048\u306a\u3044\u3057\u3001Storage\u30af\u30e9\u30b9\u3092\u4ecb\u3055\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u3067\u81ea\u7531\u5ea6\u304c\u4f4e\u3044\u3002\u79c1\u306f\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3092\u30e9\u30c3\u30d7\u3059\u308b\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u3066\u3069\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u3082\u7d71\u4e00\u7684\u306b\u6271\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u3002 Xamarin Forms for Android ScrollView\u3068\u4ed6\u306eUI\u90e8\u54c1\u3092\u4e0a\u4e0b\u306b\u914d\u7f6e\u3059\u308b\u3068\u3001ScrollView\u304c\u4ed6\u306e\u90e8\u54c1\u3092\u306f\u307f\u51fa\u3057\u3066\u753b\u9762\u4e00\u676f\u306b\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3046\u3002ScrollView\u306eIsClippedToBounds\u306bTrue\u3092\u8a2d\u5b9a\u3059\u308c\u3070OK\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30b9\u30d7\u30e9\u30c3\u30b7\u30e5\u753b\u9762\u304c\u306a\u304f\u3001\u771f\u3063\u767d\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308b\u3002\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u901a\u308a\u306bThema\u3092\u4f5c\u3063\u3066\u89e3\u6c7a\u3002 Xamarin Forms for Mac ContentPage\u306eBackgroundImage\u3067\u80cc\u666f\u753b\u50cf\u3092\u51fa\u3057\u3066\u3044\u305f\u306e\u3060\u304c\u3001Mac\u7248\u3060\u3051\u306f\u30bf\u30a4\u30eb\u8868\u793a\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067ContentPage\u306b\u753b\u9762\u5168\u4f53\u306eGrid\u3092\u7528\u610f\u3057\u3066Aspect Fill\u306b\u3057\u305fImage\u3092\u914d\u7f6e\u3057\u305f\u3002 NavigationView\u306ePopAsync\u3092\u4f55\u56de\u304b\u5b9f\u884c\u3057\u3066\u4e00\u6c17\u306b\u30bf\u30a4\u30c8\u30eb\u753b\u9762\u306b\u623b\u308b\u3068\u304b\u3057\u3066\u3044\u308b\u3068\u3001Mac\u3060\u3051\u306f\u9014\u4e2d\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3046\u3002\u3053\u308c\u306fPopAsync\u306eAnimation\u30d1\u30e9\u30e1\u30fc\u30bf\u3092false\u306b\u3059\u308c\u3070\u3088\u3044\u3002 ListView\u306e\u80cc\u666f\u304c\u3069\u3046\u3084\u3063\u3066\u3082\u767d\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u306b\u60a9\u307e\u3055\u308c\u308b\u3002ListView\u306eBackgroundColor\u306bTransparent\u3092\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u3060\u3068\u30c0\u30e1\u3067\u3001\u3055\u3089\u306b\u5f8c\u308d\u306b\u767d\u3044\u80cc\u666f\u304c\u3042\u308b\u3063\u307d\u3044\u3002\u30bd\u30fc\u30b9\u3092\u898b\u305f\u3089\u3042\u3048\u3066\u767d\u304f\u3057\u3066\u3044\u308b\u3088\u3046\u3060\u3063\u305f\u306e\u3067\u3001ListViewRenderer\u3092\u4f5c\u3063\u3066\u3001NativeTableView.EnclosingScrollView.DrawsBackground\u3092false\u306b\u3059\u308b\u3002\u3055\u3089\u306b\u3001\u3053\u308c\u3060\u3051\u3060\u3068ScrollView\u3092\u30c9\u30e9\u30c3\u30b0\u3057\u305f\u3068\u304d\u306b\u5f8c\u308d\u306b\u767d\u3044\u7dda\u304c\u898b\u3048\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067NativeTableView.HeaderView\u3092null\u306b\u3057\u3066\u3088\u3046\u3084\u304f\u5b8c\u5168\u306b\u900f\u660e\u306b\u306a\u3063\u305f\u3002 Xamarin Forms for iOS ListView\u306b\u7f6b\u7dda\u304c\u5165\u3063\u3066\u3057\u307e\u3046\u3002ListView\u306eSeparatorVisibility\u3092None\u306b\u3059\u308b\u3053\u3068\u3067\u6d88\u305b\u308b\u3002 DLL\u306f\u4f7f\u3048\u305a\u5168\u90e8StaticLink\u306b\u306a\u308b\u306e\u3067\u30cd\u30a4\u30c6\u30a3\u30d6P\/Invoke\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u30ea\u30f3\u30af\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u307e\u305f\u3001\u4ed6\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30af\u30e9\u30b9\u306e\u578b\u3092\u53c2\u7167\u3059\u308b\u5834\u5408\u3001GetType\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u306f\u4ed8\u3051\u306a\u3044\u3002 \u4f55\u6545\u304b\u5206\u304b\u3089\u306a\u3044\u3051\u3069PCL\u306e\u4e2d\u306b\u3042\u308b\u30af\u30e9\u30b9\u306b\u5bfe\u3057\u3066GetType\u306f\u3067\u304d\u306a\u3044\u3063\u307d\u3044\u3002\u5165\u529b\u65b9\u5f0f\u30d7\u30e9\u30b0\u30a4\u30f3\u306fPCL\u3058\u3083\u306a\u304f\u3066\u666e\u901a\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3057\u305f\u3002 iOS\u30cd\u30a4\u30c6\u30a3\u30d6\u306e\u3068\u304d\u306f\u3001UIInputText\u3092\u5b9f\u88c5\u3057\u305fUIView\u3067InputDelegate\u3067\u53d7\u3051\u53d6\u3063\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u304cUIKeyboardImpl\u3067\u3001\u305d\u306e\u307e\u307eUIInputTextDelegate\u306b\u30ad\u30e3\u30b9\u30c8\u3067\u304d\u305f\u3002\u305d\u308c\u3092\u4f7f\u3063\u3066TextWillChange\u3068\u304bTextDidChange\u3092\u547c\u3073\u51fa\u3057\u3001\u5185\u90e8\u30c6\u30ad\u30b9\u30c8\u3092\u5909\u66f4\u3057\u305f\u3053\u3068\u3092\u30b7\u30b9\u30c6\u30e0\u306b\u901a\u77e5\u3067\u304d\u305f\u3002\u3067\u3082\u3001Xamarin\u3060\u3068WeakInputDelegate\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092UIInputTextDelegate\u306b\u30ad\u30e3\u30b9\u30c8\u3067\u304d\u306a\u3044\u3002\u30d8\u30eb\u30d7\u306b\u306fWeak\u3060\u3068\u5b9f\u969b\u306e\u7d99\u627f\u95a2\u4fc2\u4ee5\u5916\u306e\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308b\u6c17\u304c\u3059\u308b\u3051\u3069\u3001\u3069\u3046\u3084\u308b\u306e\u304c\u6b63\u89e3\u306a\u3093\u3060\u308d\u3046\u3002\u3068\u308a\u3042\u3048\u305a\u4eca\u56de\u306fSimpleInputText\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u3088\u3046\u306b[Adopts (&#8220;UITextInput&#8221;)]\u3067\u5b9f\u88c5\u3057\u305f\u3002\u305f\u3060\u3001\u305d\u308c\u3060\u3068IUITextInput\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5b9f\u88c5\u3057\u306a\u3044\u306e\u3067\u3001\u7d50\u5c40TextWillChange\u3068TextDidChange\u3092\u547c\u3073\u51fa\u3059\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u4f55\u3092\u4f7f\u3048\u3070\u826f\u3044\u306e\u304b\u5206\u304b\u3089\u306a\u304f\u306a\u308b\u3002\u306a\u306e\u3067\u3001\u308f\u3056\u308f\u3056IUITextInput\u3092\u5b9f\u88c5\u3057\u305f\u30e9\u30c3\u30d1\u30fc\u3092\u4f5c\u3063\u3066[Adopts (&#8220;UITextInput&#8221;)]\u3092\u5b9f\u88c5\u3057\u305f\u30af\u30e9\u30b9\u3092\u547c\u3073\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u3001\u3088\u3046\u3084\u304fiOS\u30cd\u30a4\u30c6\u30a3\u30d6\u7248\u3068\u540c\u3058\u52d5\u4f5c\u306b\u306a\u3063\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,3],"tags":[8,48],"class_list":["post-3856","post","type-post","status-publish","format-standard","hentry","category-programming","category-computer","tag-weathertyping","tag-xamarin"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4ZThs-10c","_links":{"self":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/3856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/comments?post=3856"}],"version-history":[{"count":7,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/3856\/revisions"}],"predecessor-version":[{"id":3866,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/posts\/3856\/revisions\/3866"}],"wp:attachment":[{"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/media?parent=3856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/categories?post=3856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/denasu.com\/blog\/wp-json\/wp\/v2\/tags?post=3856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}