►
From YouTube: XAF Blazor How to create a Property Editor
Description
Click Here to Subscribe: http://xaf.life/35
Websites:
https://xafmarin.com/
https://xari.io
https://www.xafers.training/
http://xafersweekly.com/
Facebook Group
http://xaf.life/4g
Free XAF Support Hour
https://calendly.com/xari/free-xaf-support-hour
A
Lately
thing
most
of
our
development
is
done
in
blazer
we
decided
okay,
how
to
create.
How
do
we
create
a
property
or
like
really
really
fast,
because
if
you
have
seen
the
recommendations
for
the
property
heater
and
I'm
going
to
show
that
soon,
there
are
like
a
few
steps
and
it
cannot
take
time
to
to
do
that
in
general.
So,
let's
create
a
new
project
here.
A
And
in
the
meantime,
I'm
going
to
show
you
guys
the
information
for
the
property
editor.
So
just
let
me
move
the
zumba
and
this
basically
for
creating
your
own
property
or
you
need
to
create,
like
four
classes,
I
think
plus
the
component
to
do
the
rendering.
A
So,
as
you
can
see,
there
are
a
lot
of
steps
and
the
naming
is
really
important
and
also
where
you
put
it,
as
as
we
talked
with
day
before,
the
location
of
the
component
is
not
important,
but
once
you
put
it
in
one
place,
it
will
generate
a
code
behind.
So
when
you
move
it
and
it
will
looks
like
there
is
an
error
that
will
take
a
little
bit
to
to
stop
showing
in
the
studio,
you
can
basically
delete
the
beam
folder
close.
A
A
Let's
see
the
annotations,
can
we
clear
the
annotations
with
all
drawings
yeah
perfect,
so
we
don't
want
annotations
anymore.
We
want
the
mouse
okay.
So
let's
create
this
proprietary.
So
it's
not
about
these.
A
This
next
example
is
not
about
the
property
editor
itself.
It's
how
you
can
save
time
by
making
a
visual
studio
template
out
of
this,
and
also
it
will
be
nice.
If
I
can
post,
for
example,
a
ticket
on
developer
express
support
center
and
anyone
can
vote
there,
so
they
may
include
this
template
in
in
the
visual
studio
templates
because
it
will
be
easier
to
just
do
rightly
create
properties
or
with
all
the
classes
than
implementing
all
the
code
yourself.
So
let's
go
back
to
the
studio
and.
A
A
A
That's
we've
been
what
we
have
been
researching
in
the
office
lately,
because
most
of
the
examples
out
there,
like
99
of
the
examples,
are
react
and
whatever
you
can
do
with
react,
you
can
do
with
blazer.
So
we
have
almost
all
the
implementations
that
they
have
in
react
for
a
smart
contract.
We
have
them
in
place
for
also
so,
if
you're
interested
on
a
dedicated
virtual
machine,
smart
contract
integration
and
blockchain
in
general
just
add
the
notifications
in
the
youtube
channel
and
you
will
see
when
we
post
something
about
the
blockchain.
A
Okay,
we
have
our
application,
I'm
just
going
to
create
an
object.
This
is
going
to
be
dave
in
this
case.
I
use
myself
in
the
other
in
the
other
example,
so
I
need
a
different
name.
Okay,
so
let's
go
to
the
documentation,
and
I
will
show
you
how
I
do
it,
because
I've
done
this
like
so
many
times
that
when
you
start
reading
it
takes
a
while.
A
A
A
Right
so
right
now
we
have
the
blazer
component
and,
as
you
can
see,
is
everything
inside
of
the
components.
The
c
sharp
codes
in
the
component
and
the
html
is
the
component.
So
there
are
several
ways
that
you
can
use
razer
components.
You
can
use
these
syntaxes
that
is
chart
between
html,
which
in
general,
like.
I
don't
like
that
much
because
the
intelligence
test
work
that
well
in
here
and
also
culture,
sometimes
goes
crazy
figure
out
different
name
spaces,
so
something
that
needs
to
be
improved.
A
I
guess,
but
in
general
like
what
I
like
to
do,
you
can
use
inhibit
from
a
special
class
or
the
easiest
trick.
Is
you
copy
the
name
of
the
of
the
render
file?
A
So
one
part
is
the
phrasal
component
and
another
part
is
this
class.
So
if
you
need
to
write
like
complex
c
sharp
code,
you
better
do
it
on
this
side,
and
it
will
be
the
same
as
if
you
write
it
in
here,
but
the
intelligences
that
are
complete
and
cut
rush
will
just
work.
So
that's
one
of
the
teachers
I
use
like
all
the
time
and
so
far
so
good.
A
Let's
see
we
have
two
two
files
already
so
now,
let's
go
and
copy
the
adapter,
so
I
will
copy
this
code
from
here
and
the
trick
here,
if
you
want
to
make
this
a
template,
is
that
you
have
to
put
them
in
the
same
file.
That's
why
I
created
this
extra
file,
so
there's
no
official
code
that
we
want.
I
want
to
put
there
because
the
example
is
really
simple,
so
I
will
just
put
this
part
here.
I
didn't
copy.
A
Paste,
let's
move
the
namespaces
to
here,
so
they
are
here
some
of
these,
and
this
is
duplicated,
so
just
remove
it.
Okay,
so
far
so
good
we
have
in
this
class,
we
have
already
two
classes,
I
mean
in
this
class
file.
We
have
two
classes,
we
have
the
input
adapter
and
the
render
input
vendor.
A
So
we
need
to
add
basically
two
more
classes
also,
so
we
will
add
the
property
editor
and
just
copy
all
of
this.
A
And
let's
paste
this
here:
let's
remove
these
and
just
move
the
name
spaces
up.
We
don't
need
the
system.
Namespace
is
already
there.
So
let's
delete
that,
and
now
this
also,
this
already
exists.
So
so
far
so
good.
Now
we
have
three
classes
in
the
same
file
and
we're
missing
just
one.
Let's
see,
I
will
mute
everyone.
A
Okay,
so
let's
go
back
here:
let's
go
up
for
the
first
one
and
let's
copy
this,
this
is
basically
the
class
that
will
go
from
the
subdomain
object
to
the
property.
Editor,
that's
the
that
is
like
what
you
will
use
as
view
model
in
summary
in
general.
A
A
When
you
see
this
in
the
solution
explorer,
you
can
see
that
if
you
expand
this
object,
you
will
see
that
there
are
four
classes
here.
So
it's
good
because
you
can
go
and
jump
directly.
So
if
you
want
the
input
after
it
will
just
put
the
card
there,
so
we
have
not
finished.
I
will
use
this
property
later.
So,
let's
check
the
property
editor
code
here.
A
So
it's
a
really
simple
property.
Editor
is
for
the
type
string
and
then
it's
going
to
use
the
input
adapter
to
pass
the
model,
which
is
the
class
that
holds
the
value
and
passes
to
the
render,
because
if
you
see
the
render
is
the
same
as
we
did
in
the
column
render
for
the
for
the
previous
example,
you
have
a
static
method
where
you
return
the
instance
of
the
control,
and
this
has
to
be
a
static
method.
There
is
no
other
way
to
do
it.
A
So
so
you
have
to
follow
this
pattern
anyway,
so
so
far
so
good.
Let's,
we
know
that
this
property
editor,
if
we
go
here,
is
not
the
default
properties
or
for
the
string
class.
So
the
propagator
is
is
good
and
it's
working,
but
it
will
not
show
anyway
because
we
have
not
set
it
to
to
run
so.
For
that.
I
took
a
note
this
morning
because
I
always
forget
the
syntax.
A
And
let's
put
that
here
so
this
is
more
default
to
set
the
property
in
the
model
and
then
we
need
to
pass
the
full
name
of
the
class
like
including
the
namespace.
So
let's
go
here
and
copy.
So
this
is
the
namespace.
A
Let's
put
it
here
so
now
here
it
will
look
like
almost
the
same
pixel,
so
you
you
will
not
notice
the
difference.
So
what
I
will
do
is
just
put
something
else
here,
so
you
notice
that
it's
a
different
implementation
than
the
default
ones.
So,
let's
add
basically
this.
A
So,
let's
click
here
and
we
will
see
or
property
so
see.
This
is
a
different
textbox.
It's
an
html
textbox
and
there
is
the
div
that
I
added
below.
So
now
we
have
our
full
property
or
implemented.
Now,
let's
make
it
a
visual
studio.
Item
template
just
like
super
easy.
That's
been
changing
like
every
time.
Every
version
of
visual
studio
there's
a
different
way
to
do
it
also
the
menu
where
you
do
it.
It
changed.
A
A
A
So
next,
and
now
it's
asking
me
which,
which
item
I
want
from
that
solution-
that's
why
I
put
all
the
files
all
the
classes
on
the
same
file,
because
otherwise
you
cannot
do
a
template
with
four
classes.
You
need
to
do
four
templates.
So
that's
why
I
did
that,
like
put
all
the
things
in
the
same
place,
so
we
can
use
this
trick
so
now.
A
The
only
thing
that
I
need
to
do
is
like
input,
render
select
that
because
it
shows
us
one
item,
even
though
there
are
four
classes
in
there
plus
the
render.
A
So
which
reference
I
would
like
to
include
in
this
case,
I
will
not
include
any
reference.
I
don't
need
to
add
any
dll,
but
maybe
my
component,
my
component
comes
from
a
devexpress
dll,
but
this
is
basically,
if
you
want
to
include
something
like
with
your
template.
For
example,
I
don't
know
if
you,
if
you
remember
like
way
like
long
time
ago,
when
you
added
an
xbo
object,
it
added
the
reference
to
xpo.
So
that's
the
same
trick.
A
A
The
name
of
the
template
item
page
will
be
place
or
like
that,
because
I
have
like
so
many
templates
already
that
I
have
done
to
test
and
everything
so
and
I
don't.
I
will
not
set
an
item
right
now
and
also
not
preview.
This
is
the
location
where
it's
going
to
be.
You
can
go
and
check.
There
is
a
folder
that
is
the
all
the
files
needed
for
that
and
then
it's
it
will
import
automatically
in
this
solid
studio
in
general.
A
The
import
sometimes
doesn't
happen,
the
closer
finger
and
hope
that
this
happens
and
if
not,
we
need
to
close
all
the
studios
and
just
restart
open
a
new
instance.
After
all
of
them
are
closed
and
then
it
will
show.
So,
let's
finish.
A
A
We
have
a
question
from
a
friend
of
the
channel
and
a
friend
of
the
meetups
jp,
so
jp
the
component
that
you
that
I
show
in
html.
A
A
So
if,
in
the
bootstrap
framework,
the
class
that
you
use
is
alert
or
danger,
or
something
like
that
or
whatever
name
class
that
you
use
for
the
for
the
style,
it
will
use
the
one
that
is
currently
set
for
the
express.
So
if
you
have
an
orange
theme,
your
component
will
look
orange.
If
that's
the
class
that
you
use
and
if
you
switch
team,
it
will
take
that
new
theme
that
you
switch
too.
A
So,
basically,
that's
how
you
do
it
and
it's
really
nice,
because
otherwise
you
have
to
add
more
style,
styling
properties
to
your
component,
but
it
will
catch
the
one
that
you
use
from
the
current
theme
in
the
application.
As
long
as
you
use
the
bootstrap
classes
that
devexpress
uses
so
well
so
far
so
good.
I
think
I
will
need
to
close
the
studio
to
make
this
show.
So
let
me
close
all
the
instances.
A
Okay,
so
let's
see
how
the
demo
effect
will
affect
me
this
in
this
time,
or
maybe
it
will
not-
maybe
I'm
lucky
so
okay.
So
now
that
we
have
basically
export
the
code
that
we
wanted.
As
a
item
template,
I
should
be
able
to
delete
this,
and
I
guess
I
will
not
for
the
moment.
I
will
just
add
another
one
and
it
will
have
the
same
name.
So
that's
something
that
there
are
some
properties
that
you
need
to
replace
that
there
are
in
the
in
microsoft
documentation.
A
A
And
see
we
have
all
the
code
that
we
created
before
there
are
some
ways
that
you
can
make
that
replacement
to
work
in
the
code,
because
right
now,
for
example,
here
is
still
called
input
render.
A
A
And
after
that,
everything
is
fine.
If
we
check
here,
we
have
the
like
the
same
structure
and
it
will
compile
and
show
the
only
thing
that
right
now,
what
I
need
to
do
is
basically.
A
A
Let's
see
if
I
can
find
it
before
the
application
will
happen.
Let's
see
my
prop,
it's
not
being
like
that.
The
render
is
named
like
that.
The
name
is
still
the
same,
because
now
that
I
think
about
it,
if
I
go
here,
the
name
that
I
need
to
set
is
this
one.
So
that
stayed
the
same,
so
I
replace
it
for
nothing.
We
just
need
to
run
it
again
and,
let's
see
maybe
I
can
find
the
information
before
this
starts
again.
A
So
c
is
working
basically,
the
same
component
that
I
created
before
is
showing
so
to
complete
this.
Basically,
you
will
need
to
add
some
tags
to
your
code,
but
the
tags
will
break
your
code
in
the
end.
So
you
need
to
make
sure
that
your
code
is
running
submitted
to
the
source
controller
like
dual
commit
and
then,
for
example,
see
this
if
you
want
to
replace
name
spaces
with
the
name
of
the
current
word
that
you
are
because
in
this
case
the
namespaces,
for
example,.
A
Let's
go
to
the
property
editor
here
is
within
this
project
name
and
then
this
namespace
that
can
be
replaced
automatically
for
you
with
the
namespace
of
your
current
solution
at
the
moment
or
you
pour
it
at
the
moment.
But
for
that
you
will
need
to
add
some
placeholders.
Basically,
so
let
me
show
you
the
documentation.
A
So
if
you
want
to
replace
the
namespace,
for
example,
you
just
add
this
and
you
will
use
your
current
project
namespace
as
the
namespace
of
that
file
and
the
same
for
like
file
names
last
names,
you
can
use
the
same
three.
There
are
placeholders
for
that.
So
you
just
pick
the
ones
that
you
want
and
then
all
of
that
can
be
the
name
automatically
for
you.
For
example,
if
you
don't
want
to
name
it
input
model,
but
you
just
want
the
the
the
model
suffix.
A
Let's
see
that's
here
so,
instead
of
so,
if
you
want
this
to
take
the
name
that
you
said
when
you
add
the
item
from
the
add
new,
add
new
item
window,
you
will
have
to
do
something
like
this
and
this
will
be
replaced
for
the
file
name.
But
when
you
do
this,
your
code
breaks,
so
you
need
to
make
sure
it
works.
Then
you
replace
with
the
placeholders
and
then
you
export.
A
So
that's
good
to
have
this
on
the
source
controller,
because
you
make
sure
that
it's
running
and
then
you
have
to
replace
for
for
these
placeholders,
and
there
is
no
other
way
to
do
that.
So
you
will
just
have
to
suffer
through
it
and
that's
it
for
this
demo.
So
I
will
just
put
that
information
in
the
chat.