Example #1
0
        private static void RegisterRtlMemoEdit()
        {
            var editorInfo =
                new EditorClassInfo(
                    typeof(RtlMemoEdit).Name,
                    typeof(RtlMemoEdit),
                    typeof(RtlRepositoryItemMemoEdit),
                    typeof(RtlMemoEditViewInfo),
                    new RtlMemoEditPainter(),
                    true,
                    EditImageIndexes.MemoEdit,
                    typeof(RtlMemoEditAccessible));

            EditorRegistrationInfo.Default.Editors.Add(editorInfo);
        }
Example #2
0
        public static void RegisterRichTextIndentEdit()
        {
            //EditorClassInfo info = EditorRegistrationInfo.Default.Editors[InternalEditorTypeName];
            //if (info != null)
            //    EditorRegistrationInfo.Default.Editors.Remove(info);

            // TODO: replace image
            Bitmap img = ResourceImageHelper.CreateBitmapFromResources("DevExpress.XtraRichEdit.Bitmaps256.RichTextEdit.bmp", Assembly.GetExecutingAssembly());

            img.MakeTransparent(Color.Magenta);
            EditorClassInfo editorInfo = new EditorClassInfo(typeof(RichTextIndentEdit).Name, typeof(RichTextIndentEdit), typeof(RepositoryItemRichTextIndentEdit), typeof(DevExpress.XtraEditors.ViewInfo.BaseSpinEditViewInfo), new DevExpress.XtraEditors.Drawing.ButtonEditPainter(), true, img);

            editorInfo.AllowInplaceEditing = ShowInContainerDesigner.OnlyInBars;
            EditorRegistrationInfo.Default.Editors.Add(editorInfo);
        }
        public static void Register()
        {
            EditorClassInfo myEditorCI = new EditorClassInfo(EditorName, typeof(Taglist), typeof(TagListReposioryItem), typeof(TagListViewInfo), new TagListButtonPainter(), true, null);

            EditorRegistrationInfo.Default.Editors.Add(myEditorCI);
        }
		private static void RegisterRtlMemoEdit()
		{
			var editorInfo =
				new EditorClassInfo(
					typeof(RtlMemoEdit).Name,
					typeof(RtlMemoEdit),
					typeof(RtlRepositoryItemMemoEdit),
					typeof(RtlMemoEditViewInfo),
					new RtlMemoEditPainter(),
					true,
					EditImageIndexes.MemoEdit,
					typeof(RtlMemoEditAccessible));

			EditorRegistrationInfo.Default.Editors.Add(editorInfo);
		}
        public static void Register()
        {
            EditorClassInfo myEditorCI = new EditorClassInfo(EditorName, typeof(DragImageEdit), typeof(DragImagEditRepositoryItem), typeof(DragImageEditViewInfo), new DragImagEditPainter(), true);

            EditorRegistrationInfo.Default.Editors.Add(myEditorCI);
        }