1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/GrapeCity-SetFocusCommand

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
SetFocusCommand.cs 1.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
katherinebai Отправлено 24.02.2018 08:58 ac3846d
using GrapeCity.Forguncy.Commands;
using GrapeCity.Forguncy.Plugin;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SetFocusCommand
{
[Icon("pack://application:,,,/SetFocusCommand;component/Resources/icon.png")]
public class SetFocusCommand : Command
{
[FormulaProperty(true)]
[ResourcesDisplayName("SetFocusCommand_TargetCell")]
public object TargetCell { get; set; }
public override string ToString()
{
return Properties.Resources.SetFocusCommand_DisplayName;
}
public override CommandScope GetCommandScope()
{
return CommandScope.Cell | CommandScope.ListView | CommandScope.PageLoad;
}
}
public class ResourcesDisplayNameAttribute : DisplayNameAttribute
{
public ResourcesDisplayNameAttribute(string displayName)
:base(displayName)
{
}
public override string DisplayName
{
get
{
return Properties.Resources.ResourceManager.GetString(base.DisplayName);
}
}
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/GrapeCity-SetFocusCommand.git
git@api.gitlife.ru:oschina-mirror/GrapeCity-SetFocusCommand.git
oschina-mirror
GrapeCity-SetFocusCommand
GrapeCity-SetFocusCommand
master