0
GridView를 확장하는 클래스가 있습니다. 내 xaml 파일에서 사용하고 싶습니다. 내가내 xaml 파일에서 로컬 리소스 (클래스)를 사용할 수 없습니다.
Error 6 The name "VariableGridView" does not exist in the namespace "using:MyApplication".
을하지 않는 네임 스페이스 MyApplication
그래서 난
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:MyApplication"
내가 뭔가를 작동
<local:VariableGridView Grid.Column="1" x:Name="listView">
를 사용하려면 감사 XAML에 넣어하지만 난 그것에 오류를 가지고 왜 이걸 가져라. 나는 여러 번 프로젝트를 재구성했지만 여전히 이것을 얻는다. 그것은 그이 컨트롤의 삶을 나타나는 위치의
xmlns:local="clr-namespace:MyApplication"
:
// 편집
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SignDictionary.Model;
using Windows.Foundation;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace MyApplication
{
public class VariableGridView : GridView
클래스 이름까지 네임 스페이스를 통해 VariableGridView 클래스 선언을 표시 할 수 있습니까? – Josh
@Josh 원했던대로 더 많은 코드를 추가했습니다 – Fixus
그리고 xaml과 클래스 파일이 모두 같은 프로젝트에 있습니까? – Josh